|
||||||||
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.XSDuration
public final class XSDuration
Field Summary |
---|
Constructor Summary | |
---|---|
XSDuration()
|
Method Summary | |
---|---|
JType |
getJType()
Returns the JType that this XSType represents |
Duration |
getMaxExclusive()
Returns the maximum exclusive value that this XSDuration can hold. |
Duration |
getMaxInclusive()
Returns the maximum inclusive value that this XSDuration can hold. |
Duration |
getMinExclusive()
Returns the minimum exclusive value that this XSDuration can hold. |
Duration |
getMinInclusive()
Returns the minimum inclusive value that this XSDuration can hold. |
boolean |
hasMaximum()
|
boolean |
hasMinimum()
|
void |
setFacets(SimpleType simpleType)
Reads and sets the facets for XSDuration override the readFacet method of XSType |
void |
setMaxExclusive(Duration max)
Sets the maximum exclusive value that this XSDuration can hold. |
void |
setMaxInclusive(Duration max)
Sets the maximum inclusive value that this XSDuration can hold. |
void |
setMinExclusive(Duration min)
Sets the minimum exclusive value that this XSDuration can hold. |
void |
setMinInclusive(Duration 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, newInstanceCode, setAsEnumerated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDuration()
Method Detail |
---|
public JType getJType()
XSType
getJType
in class XSType
public Duration getMaxExclusive()
getMaxInclusive()
public Duration getMaxInclusive()
getMaxExclusive()
public Duration getMinExclusive()
getMinInclusive()
,
setMaxInclusive(org.exolab.castor.types.Duration)
public Duration getMinInclusive()
getMinExclusive()
public void setMaxExclusive(Duration max)
max
- the maximum exclusive value this XSDuration can besetMaxInclusive(org.exolab.castor.types.Duration)
public void setMaxInclusive(Duration max)
max
- the maximum inclusive value this XSDuration can besetMaxExclusive(org.exolab.castor.types.Duration)
public void setMinExclusive(Duration min)
min
- the minimum exclusive value this XSDuration can besetMinInclusive(org.exolab.castor.types.Duration)
public void setMinInclusive(Duration min)
min
- the minimum inclusive value this XSInt can besetMinExclusive(org.exolab.castor.types.Duration)
public boolean hasMinimum()
public boolean hasMaximum()
public void setFacets(SimpleType simpleType)
setFacets
in class XSType
simpleType
- 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 XSType
fixedValue
- 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 |