Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class GMonth

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

public class GMonth
extends Validator

A wrapper class that contains a gMonth. 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
GMonth(String value)
          Construct a gMonth with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 int getMonth()
          Get the value of this gMonth.
 String getValue()
          Get the string value of this gMonth.
 int hashCode()
           
 void setMonth(int month)
          Set the month of this gMonth.
 void setValue(String value)
          Set the value of this gMonth.
 String toString()
          Return string form of object
static void validate(Object object)
          Validate that a gMonth is a proper XML Schema gMonth.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GMonth

public GMonth(String value)
       throws IllegalArgumentException
Construct a gMonth with the specified value.

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

getValue

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

Returns:
the string value of the gMonth

getMonth

public int getMonth()
Get the value of this gMonth.

Returns:
the value of the gMonth

setValue

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

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

setMonth

public void setMonth(int month)
Set the month of this gMonth.

Parameters:
month - the month of the gMonth

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public String toString()
Return string form of object

Returns:
the value of the string

validate

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

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

Novell exteNd Web Services SDK API

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