|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.builder.types.XSType
org.exolab.castor.builder.types.XSDate
The XML Schema Date type
| Field Summary |
|---|
| 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()
|
java.lang.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,
java.lang.String fixedValue,
java.lang.String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
| Methods inherited from class org.exolab.castor.builder.types.XSType |
|---|
createFromJavaObjectCode, createToJavaObjectCode, escapePattern, getFacets, getName, getType, isDateTime, isEnumerated, isPrimitive, setAsEnumertated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSDate()
| Method Detail |
public java.lang.String newInstanceCode()
newInstanceCode in class XSTypepublic JType getJType()
getJType in class XSTypepublic Date getMaxExclusive()
getMaxInclusive()public Date getMaxInclusive()
getMaxExclusive()public Date getMinExclusive()
getMinInclusive(),
setMaxInclusive(org.exolab.castor.types.Date)public Date getMinInclusive()
getMinExclusive()public void setMaxExclusive(Date max)
max - the maximum exclusive value this XSDate can besetMaxInclusive(org.exolab.castor.types.Date)public void setMaxInclusive(Date max)
max - the maximum inclusive value this XSDate can besetMaxExclusive(org.exolab.castor.types.Date)public void setMinExclusive(Date min)
setMinInclusive(org.exolab.castor.types.Date)public void setMinInclusive(Date min)
setMinExclusive(org.exolab.castor.types.Date)public boolean hasMinimum()
public boolean hasMaximum()
public void setFacets(SimpleType simpleType)
setFacets in class XSTypesimpleType - the SimpleType containing the facetsXSType.getFacets(org.exolab.castor.xml.schema.SimpleType)
public void validationCode(JSourceCode jsc,
java.lang.String fixedValue,
java.lang.String fieldValidatorInstanceName)
validationCode in class XSTypefixedValue - a fixed value to use if anyjsc - the JSourceCode to fill in.fieldValidatorInstanceName - the name of the FieldValidator
that the configured TypeValidator should be added to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||