org.exolab.castor.builder.types
public final class XSDuration extends XSType
Constructor Summary | |
---|---|
XSDuration() |
Method Summary | |
---|---|
JType | getJType() |
Duration | getMaxExclusive()
Returns the maximum exclusive value that this XSDuration can hold. |
Duration | getMaxInclusive()
Returns the maximum inclusive value that this XSDuration can hold. |
Duration | getMinExclusive()
Returns the minimum exclusive value that this XSDuration can hold. |
Duration | getMinInclusive()
Returns the minimum inclusive value that this XSDuration can hold. |
boolean | hasMaximum() |
boolean | hasMinimum() |
void | setFacets(SimpleType simpleType)
Reads and sets the facets for XSDuration
override the readFacet method of XSType |
void | setMaxExclusive(Duration max)
Sets the maximum exclusive value that this XSDuration can hold. |
void | setMaxInclusive(Duration max)
Sets the maximum inclusive value that this XSDuration can hold. |
void | setMinExclusive(Duration min)
Sets the minimum exclusive value that this XSDuration can hold. |
void | setMinInclusive(Duration min)
Sets the minimum inclusive value that this XSInt can hold. |
void | validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
Returns: the maximum exclusive value that this XSDuration can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSDuration
Returns: the maximum inclusive value that this XSDuration can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSDuration
Returns: the minimum exclusive value that this XSDuration can hold. If no minimum exclusive value has been set, Null will be returned
See Also: XSDuration XSDuration
Returns: the minimum inclusive value that this can XSDuration hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSDuration
Parameters: simpletype the Simpletype containing the facets xsType the XSType to set the facets of
See Also: XSType
Parameters: max the maximum exclusive value this XSDuration can be
See Also: XSDuration
Parameters: max the maximum inclusive value this XSDuration can be
See Also: XSDuration
Parameters: max the minimum exclusive value this XSDuration can be
See Also: XSDuration
Parameters: max the minimum inclusive value this XSInt can be
See Also: XSDuration
Parameters: 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.