|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Corresponds to the XML Schema xs:gYear type. A gYear specifies a Gregorian year (AD).
Convertible to Calendar
, GDate
, or an int.
XmlCalendar
,
GDate
Nested Class Summary | |
static class |
XmlGYear.Factory
A class with methods for creating instances of XmlGYear . |
Field Summary | |
static SchemaType |
type
The constant SchemaType object representing this schema type. |
Fields inherited from interface org.apache.xmlbeans.XmlObject |
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL |
Method Summary | |
Calendar |
calendarValue()
Deprecated. replaced with getCalendarValue() |
GDate |
gDateValue()
Deprecated. replaced with getGDateValue() |
Calendar |
getCalendarValue()
Returns this value as a Calendar |
GDate |
getGDateValue()
Returns this value as a GDate |
int |
getIntValue()
Returns this value as an int from 1-31 |
int |
intValue()
Deprecated. replaced with getIntValue() |
void |
set(Calendar c)
Deprecated. replaced with setCalendarValue(java.util.Calendar) |
void |
set(GDateSpecification gd)
Deprecated. replaced with setGDateValue(org.apache.xmlbeans.GDate) |
void |
set(int v)
Deprecated. replaced with setIntValue(int) |
void |
setCalendarValue(Calendar c)
Sets this value as a Calendar |
void |
setGDateValue(GDate gd)
Sets this value as a GDateSpecification |
void |
setIntValue(int v)
Sets this value as an int from 1-31 |
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType |
getStringValue, set, setStringValue, stringValue |
Methods inherited from interface org.apache.xmlbeans.XmlObject |
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode |
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource |
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText |
Field Detail |
public static final SchemaType type
SchemaType
object representing this schema type.
Method Detail |
public Calendar getCalendarValue()
Calendar
public void setCalendarValue(Calendar c)
Calendar
public GDate getGDateValue()
GDate
public void setGDateValue(GDate gd)
GDateSpecification
public int getIntValue()
public void setIntValue(int v)
public Calendar calendarValue()
getCalendarValue()
Calendar
public void set(Calendar c)
setCalendarValue(java.util.Calendar)
Calendar
public GDate gDateValue()
getGDateValue()
GDate
public void set(GDateSpecification gd)
setGDateValue(org.apache.xmlbeans.GDate)
GDateSpecification
public int intValue()
getIntValue()
public void set(int v)
setIntValue(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |