XmlGYearMonth Interface

com.bea.xml
XmlGYearMonth Interface

public interface XmlGYearMonth

    extends XmlAnySimpleType

Corresponds to the XML Schema xs:gYearMonth type. A gYearMonth specifies a month in a specific year.

Convertible to Calendar, GDate.

Related Topics

XmlCalendar
GDate


All Superinterfaces
XmlAnySimpleType, XmlObject, XmlTokenSource

Nested Class Summary

public static final classXmlGYearMonth.Factory
           A class with methods for creating instances of XmlGYearMonth.
 
Nested classes from interface com.bea.xml.XmlAnySimpleType
XmlAnySimpleType.Factory
 
Nested classes from interface com.bea.xml.XmlObject
XmlObject.Factory
 

Field Summary

public static final SchemaType
type
The constant SchemaType object representing this schema type.
   
Fields from interface com.bea.xml.XmlAnySimpleType
type
 
Fields from interface com.bea.xml.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
 

Method Summary

public Calendar
calendarValue()
Returns this value as a Calendar
public GDate
gDateValue()
Returns this value as a GDate
public Calendar
getCalendarValue()
Returns this value as a Calendar
public GDate
getGDateValue()
Returns this value as a GDate
public void
set(Calendar c)
Sets this value as a Calendar
public void
set(GDateSpecification gd)
Sets this value as a GDateSpecification
public void
setCalendarValue(Calendar c)
Sets this value as a Calendar
public void
setGDateValue(GDate gd)
Sets this value as a GDateSpecification
 
Methods from interface com.bea.xml.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods from interface com.bea.xml.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods from interface com.bea.xml.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
   

Field Detail

type

public static final SchemaType type
The constant SchemaType object representing this schema type.

 

Method Detail

calendarValue() Method

DEPRECATED replaced with com.bea.xml.XmlGYearMonth.getCalendarValue()

public Calendar calendarValue()
Returns this value as a Calendar


gDateValue() Method

DEPRECATED replaced with com.bea.xml.XmlGYearMonth.getGDateValue()

public GDate gDateValue()
Returns this value as a GDate


getCalendarValue() Method

public Calendar getCalendarValue()
Returns this value as a Calendar


getGDateValue() Method

public GDate getGDateValue()
Returns this value as a GDate


set(Calendar) Method

DEPRECATED replaced with com.bea.xml.XmlGYearMonth.setCalendarValue(java.util.Calendar)

public void set(Calendar c)
Sets this value as a Calendar


set(GDateSpecification) Method

DEPRECATED replaced with com.bea.xml.XmlGYearMonth.setGDateValue(com.bea.xml.GDate)

public void set(GDateSpecification gd)
Sets this value as a GDateSpecification


setCalendarValue(Calendar) Method

public void setCalendarValue(Calendar c)
Sets this value as a Calendar


setGDateValue(GDate) Method

public void setGDateValue(GDate gd)
Sets this value as a GDateSpecification