org.exolab.castor.builder.types
public final class XSDate extends XSType
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:56 $
Constructor Summary | |
---|---|
XSDate() |
Method Summary | |
---|---|
JType | getJType()
Returns the JType that this XSType represents |
Date | getMaxExclusive()
Returns the maximum exclusive value that this XSDate can hold. |
Date | getMaxInclusive()
Returns the maximum inclusive value that this XSDate can hold. |
Date | getMinExclusive()
Returns the minimum exclusive value that this XSDate can hold. |
Date | getMinInclusive()
Returns the minimum inclusive value that this XSDate 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 XSDate
override the readFacet method of XSType |
void | setMaxExclusive(Date max)
Sets the maximum exclusive value that this XSDate can hold. |
void | setMaxInclusive(Date max)
Sets the maximum inclusive value that this XSDate can hold. |
void | setMinExclusive(Date min)
Sets the minimum exclusive value that this XSDate can hold. |
void | setMinInclusive(Date 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 JType that this XSType represents
Returns: the maximum exclusive value that this XSDate can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSDate
Returns: the maximum inclusive value that this XSDate can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSDate
Returns: the minimum exclusive value that this XSDate can hold. If no minimum exclusive value has been set, Null will be returned
Returns: the minimum inclusive value that this can XSDate hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSDate
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 XSDate can be
See Also: XSDate
Parameters: max the maximum inclusive value this XSDate can be
See Also: XSDate
Parameters: max the minimum exclusive value this XSDate can be
See Also: XSDate
Parameters: max the minimum inclusive value this XSInt can be
See Also: XSDate
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.