org.exolab.castor.builder.types
public class XSGYear extends XSType
Version: $Revision $ $Date: 2005/03/05 13:41:44 $
Constructor Summary | |
---|---|
XSGYear() |
Method Summary | |
---|---|
JType | getJType() |
GYear | getMaxExclusive()
Returns the maximum exclusive value that this XSGYear can hold. |
GYear | getMaxInclusive()
Returns the maximum inclusive value that this XSGYear can hold. |
GYear | getMinExclusive()
Returns the minimum exclusive value that this XSGYear can hold. |
GYear | getMinInclusive()
Returns the minimum inclusive value that this XSGYear 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 XSXSGYear
override the readFacet method of XSType |
void | setMaxExclusive(GYear max)
Sets the maximum exclusive value that this XSGYear can hold. |
void | setMaxInclusive(GYear max)
Sets the maximum inclusive value that this XSGYear can hold. |
void | setMinExclusive(GYear min)
Sets the minimum exclusive value that this XSGYear can hold. |
void | setMinInclusive(GYear min)
Sets the minimum inclusive value that this XSGYear 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 XSGYear can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSGYear
Returns: the maximum inclusive value that this XSGYear can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSGYear
Returns: the minimum exclusive value that this XSGYear can hold. If no minimum exclusive value has been set, Null will be returned
Returns: the minimum inclusive value that this can XSGYear hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSGYear
Parameters: simpleType the Simpletype containing the facets
See Also: XSType
Parameters: max the maximum exclusive value this XSGYear can be
See Also: XSGYear
Parameters: max the maximum inclusive value this XSGYear can be
See Also: XSGYear
Parameters: min the minimum exclusive value this XSGYear can be
See Also: XSGYear
Parameters: min the minimum inclusive value this XSGYear can be
See Also: XSGYear
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.