org.exolab.castor.builder.types
public final class XSTime extends XSType
Version: $Revision: 6371 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
Constructor Summary | |
---|---|
XSTime() |
Method Summary | |
---|---|
JType | getJType()
Returns the JType that this XSType represents |
Time | getMaxExclusive()
Returns the maximum exclusive value that this XSTime can hold. |
Time | getMaxInclusive()
Returns the maximum inclusive value that this XSTime can hold. |
Time | getMinExclusive()
Returns the minimum exclusive value that this XSTime can hold. |
Time | getMinInclusive()
Returns the minimum inclusive value that this XSTime can hold. |
boolean | hasMaximum() |
boolean | hasMinimum() |
String | newInstanceCode()
Returns the Java code necessary to create a new instance of the
JType associated with this XSType |
void | setFacets(SimpleType simpleType)
Reads and sets the facets for XSTime
override the readFacet method of XSType |
void | setMaxExclusive(Time max)
Sets the maximum exclusive value that this XSTime can hold. |
void | setMaxInclusive(Time max)
Sets the maximum inclusive value that this XSTime can hold. |
void | setMinExclusive(Time min)
Sets the minimum exclusive value that this XSTime can hold. |
void | setMinInclusive(Time min)
Sets the minimum inclusive value that this XSTime can hold. |
void | validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
Returns: the JType that this XSType represents
Returns: the maximum exclusive value that this XSTime can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSTime
Returns: the maximum inclusive value that this XSTime can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSTime
Returns: the minimum exclusive value that this XSTime can hold. If no minimum exclusive value has been set, Null will be returned
Returns: the minimum inclusive value that this can XSTime hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSTime
Parameters: simpleType the Simpletype containing the facets
See Also: XSType
Parameters: max the maximum exclusive value this XSTime can be
See Also: XSTime
Parameters: max the maximum inclusive value this XSTime can be
See Also: XSTime
Parameters: min the minimum exclusive value this XSTime can be
See Also: XSTime
Parameters: min the minimum inclusive value this XSTime can be
See Also: XSTime
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.