Public Member Functions | |
XSGYear () | |
String | newInstanceCode () |
JType | getJType () |
GYear | getMaxExclusive () |
GYear | getMaxInclusive () |
GYear | getMinExclusive () |
GYear | getMinInclusive () |
void | setMaxExclusive (GYear max) |
void | setMaxInclusive (GYear max) |
void | setMinExclusive (GYear min) |
void | setMinInclusive (GYear min) |
boolean | hasMinimum () |
boolean | hasMaximum () |
void | setFacets (SimpleType simpleType) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
The XML Schema gYear type
org.exolab.castor.builder.types.XSGYear.XSGYear | ( | ) |
JType org.exolab.castor.builder.types.XSGYear.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
Referenced by org.exolab.castor.builder.types.XSGYear.newInstanceCode().
GYear org.exolab.castor.builder.types.XSGYear.getMaxExclusive | ( | ) |
Returns the maximum exclusive value that this XSGYear can hold.
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
GYear org.exolab.castor.builder.types.XSGYear.getMaxInclusive | ( | ) |
Returns the maximum inclusive value that this XSGYear can hold.
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
GYear org.exolab.castor.builder.types.XSGYear.getMinExclusive | ( | ) |
Returns the minimum exclusive value that this XSGYear can hold.
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
GYear org.exolab.castor.builder.types.XSGYear.getMinInclusive | ( | ) |
Returns the minimum inclusive value that this XSGYear can hold.
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
boolean org.exolab.castor.builder.types.XSGYear.hasMaximum | ( | ) |
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
boolean org.exolab.castor.builder.types.XSGYear.hasMinimum | ( | ) |
Referenced by org.exolab.castor.builder.types.XSGYear.validationCode().
String org.exolab.castor.builder.types.XSGYear.newInstanceCode | ( | ) |
Returns the Java code necessary to create a new instance of the JType associated with this XSType
Reimplemented from org.exolab.castor.builder.types.XSType.
References org.exolab.castor.builder.types.XSGYear.getJType(), and org.exolab.javasource.JType.getName().
void org.exolab.castor.builder.types.XSGYear.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSXSGYear override the readFacet method of XSType
simpletype | the Simpletype containing the facets | |
xsType | the XSType to set the facets of |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.castor.builder.types.XSType.getFacets(), org.exolab.castor.xml.schema.Facet.getName(), org.exolab.castor.xml.schema.Facet.getValue(), org.exolab.castor.builder.types.XSGYear.setMaxExclusive(), org.exolab.castor.builder.types.XSGYear.setMaxInclusive(), org.exolab.castor.builder.types.XSGYear.setMinExclusive(), and org.exolab.castor.builder.types.XSGYear.setMinInclusive().
Referenced by org.exolab.castor.builder.TypeConversion.convertType().
void org.exolab.castor.builder.types.XSGYear.setMaxExclusive | ( | GYear | max | ) |
Sets the maximum exclusive value that this XSGYear can hold.
max | the maximum exclusive value this XSGYear can be |
Referenced by org.exolab.castor.builder.types.XSGYear.setFacets().
void org.exolab.castor.builder.types.XSGYear.setMaxInclusive | ( | GYear | max | ) |
Sets the maximum inclusive value that this XSGYear can hold.
max | the maximum inclusive value this XSGYear can be |
Referenced by org.exolab.castor.builder.types.XSGYear.setFacets().
void org.exolab.castor.builder.types.XSGYear.setMinExclusive | ( | GYear | min | ) |
Sets the minimum exclusive value that this XSGYear can hold.
max | the minimum exclusive value this XSGYear can be |
Referenced by org.exolab.castor.builder.types.XSGYear.setFacets().
void org.exolab.castor.builder.types.XSGYear.setMinInclusive | ( | GYear | min | ) |
Sets the minimum inclusive value that this XSGYear can hold.
max | the minimum inclusive value this XSGYear can be |
Referenced by org.exolab.castor.builder.types.XSGYear.setFacets().
void org.exolab.castor.builder.types.XSGYear.validationCode | ( | JSourceCode | jsc, | |
String | fixedValue, | |||
String | fieldValidatorInstanceName | |||
) | [virtual] |
Creates the validation code for an instance of this XSType. The validation code should if necessary create a newly configured TypeValidator, that should then be added to a FieldValidator instance whose name is provided.
fixedValue | a fixed value to use if any | |
jsc | the JSourceCode to fill in. | |
fieldValidatorInstanceName | the name of the FieldValidator that the configured TypeValidator should be added to. |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.javasource.JSourceCode.add(), org.exolab.javasource.JSourceCode.append(), org.exolab.castor.builder.types.XSGYear.getMaxExclusive(), org.exolab.castor.builder.types.XSGYear.getMaxInclusive(), org.exolab.castor.builder.types.XSGYear.getMinExclusive(), org.exolab.castor.builder.types.XSGYear.getMinInclusive(), org.exolab.castor.builder.types.XSGYear.hasMaximum(), org.exolab.castor.builder.types.XSGYear.hasMinimum(), org.exolab.javasource.JSourceCode.indent(), org.exolab.castor.types.GYear.toString(), and org.exolab.javasource.JSourceCode.unindent().