Package org.apache.xmlbeans
Interface XmlGYear
-
- All Superinterfaces:
XmlAnySimpleType,XmlObject,XmlTokenSource
- All Known Implementing Classes:
XmlGYearImpl
public interface XmlGYear extends XmlAnySimpleType
Corresponds to the XML Schema xs:gYear type. A gYear specifies a Gregorian year (AD).Convertible to
Calendar,GDate, or an int.- See Also:
XmlCalendar,GDate
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classXmlGYear.FactoryA class with methods for creating instances ofXmlGYear.
-
Field Summary
Fields Modifier and Type Field Description static SchemaTypetypeThe constantSchemaTypeobject representing this schema type.-
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.CalendarcalendarValue()Deprecated.replaced withgetCalendarValue()GDategDateValue()Deprecated.replaced withgetGDateValue()java.util.CalendargetCalendarValue()Returns this value as aCalendarGDategetGDateValue()Returns this value as aGDateintgetIntValue()Returns this value as an int from 1-31intintValue()Deprecated.replaced withgetIntValue()voidset(int v)Deprecated.replaced withsetIntValue(int)voidset(java.util.Calendar c)Deprecated.replaced withsetCalendarValue(java.util.Calendar)voidset(GDateSpecification gd)Deprecated.replaced withsetGDateValue(org.apache.xmlbeans.GDate)voidsetCalendarValue(java.util.Calendar c)Sets this value as aCalendarvoidsetGDateValue(GDate gd)Sets this value as aGDateSpecificationvoidsetIntValue(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, 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
-
type
static final SchemaType type
The constantSchemaTypeobject representing this schema type.
-
-
Method Detail
-
getCalendarValue
java.util.Calendar getCalendarValue()
Returns this value as aCalendar
-
setCalendarValue
void setCalendarValue(java.util.Calendar c)
Sets this value as aCalendar
-
setGDateValue
void setGDateValue(GDate gd)
Sets this value as aGDateSpecification
-
getIntValue
int getIntValue()
Returns this value as an int from 1-31
-
setIntValue
void setIntValue(int v)
Sets this value as an int from 1-31
-
calendarValue
java.util.Calendar calendarValue()
Deprecated.replaced withgetCalendarValue()Returns this value as aCalendar
-
set
void set(java.util.Calendar c)
Deprecated.replaced withsetCalendarValue(java.util.Calendar)Sets this value as aCalendar
-
gDateValue
GDate gDateValue()
Deprecated.replaced withgetGDateValue()Returns this value as aGDate
-
set
void set(GDateSpecification gd)
Deprecated.replaced withsetGDateValue(org.apache.xmlbeans.GDate)Sets this value as aGDateSpecification
-
intValue
int intValue()
Deprecated.replaced withgetIntValue()Returns this value as an int from 1-31
-
set
void set(int v)
Deprecated.replaced withsetIntValue(int)Sets this value as an int from 1-31
-
-