Public Member Functions | |
XSGDay () | |
String | newInstanceCode () |
JType | getJType () |
GDay | getMaxExclusive () |
GDay | getMaxInclusive () |
GDay | getMinExclusive () |
GDay | getMinInclusive () |
void | setMaxExclusive (GDay max) |
void | setMaxInclusive (GDay max) |
void | setMinExclusive (GDay min) |
void | setMinInclusive (GDay min) |
boolean | hasMinimum () |
boolean | hasMaximum () |
void | setFacets (SimpleType simpleType) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
The XML Schema gDay type
org.exolab.castor.builder.types.XSGDay.XSGDay | ( | ) |
JType org.exolab.castor.builder.types.XSGDay.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
Referenced by org.exolab.castor.builder.types.XSGDay.newInstanceCode().
GDay org.exolab.castor.builder.types.XSGDay.getMaxExclusive | ( | ) |
Returns the maximum exclusive value that this XSGDay can hold.
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
GDay org.exolab.castor.builder.types.XSGDay.getMaxInclusive | ( | ) |
Returns the maximum inclusive value that this XSGDay can hold.
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
GDay org.exolab.castor.builder.types.XSGDay.getMinExclusive | ( | ) |
Returns the minimum exclusive value that this XSGDay can hold.
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
GDay org.exolab.castor.builder.types.XSGDay.getMinInclusive | ( | ) |
Returns the minimum inclusive value that this XSGDay can hold.
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
boolean org.exolab.castor.builder.types.XSGDay.hasMaximum | ( | ) |
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
boolean org.exolab.castor.builder.types.XSGDay.hasMinimum | ( | ) |
Referenced by org.exolab.castor.builder.types.XSGDay.validationCode().
String org.exolab.castor.builder.types.XSGDay.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.XSGDay.getJType(), and org.exolab.javasource.JType.getName().
void org.exolab.castor.builder.types.XSGDay.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSXSGDay 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.XSGDay.setMaxExclusive(), org.exolab.castor.builder.types.XSGDay.setMaxInclusive(), org.exolab.castor.builder.types.XSGDay.setMinExclusive(), and org.exolab.castor.builder.types.XSGDay.setMinInclusive().
Referenced by org.exolab.castor.builder.TypeConversion.convertType().
void org.exolab.castor.builder.types.XSGDay.setMaxExclusive | ( | GDay | max | ) |
Sets the maximum exclusive value that this XSGDay can hold.
max | the maximum exclusive value this XSGDay can be |
Referenced by org.exolab.castor.builder.types.XSGDay.setFacets().
void org.exolab.castor.builder.types.XSGDay.setMaxInclusive | ( | GDay | max | ) |
Sets the maximum inclusive value that this XSGDay can hold.
max | the maximum inclusive value this XSGDay can be |
Referenced by org.exolab.castor.builder.types.XSGDay.setFacets().
void org.exolab.castor.builder.types.XSGDay.setMinExclusive | ( | GDay | min | ) |
Sets the minimum exclusive value that this XSGDay can hold.
max | the minimum exclusive value this XSGDay can be |
Referenced by org.exolab.castor.builder.types.XSGDay.setFacets().
void org.exolab.castor.builder.types.XSGDay.setMinInclusive | ( | GDay | min | ) |
Sets the minimum inclusive value that this XSGDay can hold.
max | the minimum inclusive value this XSGDay can be |
Referenced by org.exolab.castor.builder.types.XSGDay.setFacets().
void org.exolab.castor.builder.types.XSGDay.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.XSGDay.getMaxExclusive(), org.exolab.castor.builder.types.XSGDay.getMaxInclusive(), org.exolab.castor.builder.types.XSGDay.getMinExclusive(), org.exolab.castor.builder.types.XSGDay.getMinInclusive(), org.exolab.castor.builder.types.XSGDay.hasMaximum(), org.exolab.castor.builder.types.XSGDay.hasMinimum(), org.exolab.javasource.JSourceCode.indent(), org.exolab.castor.types.GDay.toString(), and org.exolab.javasource.JSourceCode.unindent().