Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class GDay

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.GDay
All Implemented Interfaces:
Serializable

public class GDay
extends Validator

A wrapper class that contains a gDay. Please refer to the XML Schema for the complete definition of this simple type.

Since:
jBroker Web 2.0
See Also:
Serialized Form

Constructor Summary
GDay(String value)
          Construct a gDay with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 int getDay()
          Get the value of this gDay.
 String getValue()
          Get the string value of this gDay.
 int hashCode()
           
 void setDay(int day)
          Set the day of this gDay.
 void setValue(String value)
          Set the value of this gDay.
 String toString()
          Return string form of object
static void validate(Object object)
          Validate that a gDay is a proper XML Schema gDay.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GDay

public GDay(String value)
     throws IllegalArgumentException
Construct a gDay with the specified value.

Parameters:
value - the value of the gDay
Throws:
IllegalArgumentException - if the value can not be validated as a gDay.
Method Detail

getValue

public String getValue()
Get the string value of this gDay.

Returns:
the string value of the gDay

getDay

public int getDay()
Get the value of this gDay.

Returns:
the value of the gDay

setValue

public void setValue(String value)
              throws IllegalArgumentException
Set the value of this gDay.

Parameters:
value - the value of the gDay
Throws:
IllegalArgumentException - if the value can not be validated as a gDay.

setDay

public void setDay(int day)
Set the day of this gDay.

Parameters:
day - the day of the gDay

toString

public String toString()
Return string form of object

Returns:
the value of the string

equals

public boolean equals(Object other)

hashCode

public int hashCode()

validate

public static void validate(Object object)
                     throws IllegalArgumentException
Validate that a gDay is a proper XML Schema gDay.

Throws:
IllegalArgumentException - if the value can not be validated as a gDay.

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.