getMaxExclusive
public GDay getMaxExclusive()
Returns the maximum exclusive value that this XSGDay can hold.
- the maximum exclusive value that this XSGDay can hold. If
no maximum exclusive value has been set, Null will be returned
getMaxInclusive
public GDay getMaxInclusive()
Returns the maximum inclusive value that this XSGDay can hold.
- the maximum inclusive value that this XSGDay can hold. If
no maximum inclusive value has been set, Null will be returned
getMinExclusive
public GDay getMinExclusive()
Returns the minimum exclusive value that this XSGDay can hold.
- the minimum exclusive value that this XSGDay can hold. If
no minimum exclusive value has been set, Null will be returned
getMinInclusive
public GDay getMinInclusive()
Returns the minimum inclusive value that this XSGDay can hold.
- the minimum inclusive value that this can XSGDay hold. If
no minimum inclusive value has been set, Null will be returned
hasMaximum
public boolean hasMaximum()
hasMinimum
public boolean hasMinimum()
newInstanceCode
public String newInstanceCode()
Returns the Java code necessary to create a new instance of the
JType associated with this XSType
- newInstanceCode in interface XSType
setFacets
public void setFacets(SimpleType simpleType)
Reads and sets the facets for XSXSGDay
override the readFacet method of XSType
- setFacets in interface XSType
setMaxExclusive
public void setMaxExclusive(GDay max)
Sets the maximum exclusive value that this XSGDay can hold.
max
- the maximum exclusive value this XSGDay can be
setMaxInclusive
public void setMaxInclusive(GDay max)
Sets the maximum inclusive value that this XSGDay can hold.
max
- the maximum inclusive value this XSGDay can be
setMinExclusive
public void setMinExclusive(GDay min)
Sets the minimum exclusive value that this XSGDay can hold.
setMinInclusive
public void setMinInclusive(GDay min)
Sets the minimum inclusive value that this XSGDay can hold.
validationCode
public void validationCode(JSourceCode jsc,
String fixedValue,
String fieldValidatorInstanceName)
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.
- validationCode in interface XSType
jsc
- the JSourceCode to fill in.fixedValue
- a fixed value to use if anyfieldValidatorInstanceName
- the name of the FieldValidator
that the configured TypeValidator should be added to.