Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class GMonthDay

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

public class GMonthDay
extends Validator

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

Constructor Detail

GMonthDay

public GMonthDay(String value)
          throws IllegalArgumentException
Construct an gMonthDay with the specified value.

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

getValue

public String getValue()
Get the value of this gMonthDay

Returns:
the value of the gMonthDay

getMonth

public int getMonth()
Get the month of this gMonthDay.

Returns:
the month of the gMonthDay

getDay

public int getDay()
Get the day of this gMonthDay.

Returns:
the day of the gMonthDay

setValue

public void setValue(Date value)
              throws IllegalArgumentException
Set the value of this gMonthDay.

Parameters:
value - the value of the gMonthDay
Throws:
IllegalArgumentException - if the value can not be validated as an gMonthDay.

setValue

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

Parameters:
value - the value of the gMonthDay
Throws:
IllegalArgumentException - if the value can not be validated as an gMonthDay.

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 gMonthDay is a proper XML Schema gMonthDay.

Throws:
IllegalArgumentException - if the value can not be validated as an gMonthDay.

Novell exteNd Web Services SDK API

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