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