AbstractDigitsFacet
, XSDate
, XSDateTime
, XSDouble
, XSDuration
, XSFloat
, XSGDay
, XSGMonth
, XSGMonthDay
, XSGYear
, XSGYearMonth
, XSTime
public abstract class AbstractRangeFacet extends AbstractWhiteSpaceFacet
ANYURI_TYPE, BASE64BINARY_TYPE, BOOLEAN_TYPE, BYTE_TYPE, CLASS, COLLECTION, DATE_TYPE, DATETIME_TYPE, DECIMAL_TYPE, DOUBLE_TYPE, DURATION_TYPE, ENTITIES, ENTITY, FLOAT_TYPE, GDAY_TYPE, GMONTH_TYPE, GMONTHDAY_TYPE, GYEAR_TYPE, GYEARMONTH_TYPE, HEXBINARY_TYPE, ID_TYPE, IDREF_TYPE, IDREFS_TYPE, INT_TYPE, INTEGER_TYPE, LANGUAGE_TYPE, LONG_TYPE, NAME_TYPE, NCNAME_TYPE, NEGATIVE_INTEGER_TYPE, NMTOKEN_TYPE, NMTOKENS_TYPE, NON_NEGATIVE_INTEGER_TYPE, NON_POSITIVE_INTEGER_TYPE, NORMALIZEDSTRING_TYPE, NOTATION_TYPE, NULL, POSITIVE_INTEGER_TYPE, QNAME_TYPE, SHORT_TYPE, STRING_TYPE, TIME_TYPE, TOKEN_TYPE, UNSIGNED_BYTE_TYPE, UNSIGNED_INT_TYPE, UNSIGNED_LONG_TYPE, UNSIGNED_SHORT_TYPE
Constructor | Description |
---|---|
AbstractRangeFacet() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
codeRangeFacet(JSourceCode jsc,
java.lang.String validatorName) |
Generate the source code for pattern facet validation.
|
java.lang.String |
getMaxExclusive() |
Returns the maximum exclusive value that this XSDate can hold.
|
java.lang.String |
getMaxInclusive() |
Returns the maximum inclusive value that this XSDate can hold.
|
java.lang.String |
getMinExclusive() |
Returns the minimum exclusive value that this XSDate can hold.
|
java.lang.String |
getMinInclusive() |
Returns the minimum inclusive value that this XSDate can hold.
|
boolean |
hasMaximum() |
Returns true if a maximum (inclusive or exclusive) has been set.
|
boolean |
hasMinimum() |
Returns true if a minimum (inclusive or exclusive) has been set.
|
protected void |
setFacet(Facet facet) |
Set the given facet for XSType if applicable.
|
void |
setMaxExclusive(java.lang.String max) |
Sets the maximum exclusive value that this XSDate can hold.
|
void |
setMaxInclusive(java.lang.String max) |
Sets the maximum inclusive value that this XSDate can hold.
|
void |
setMinExclusive(java.lang.String min) |
Sets the minimum exclusive value that this XSDate can hold.
|
void |
setMinInclusive(java.lang.String min) |
Sets the minimum inclusive value that this XSDate can hold.
|
protected void |
setRangeFacet(Facet facet) |
Transfer given facet if it is a range.
|
addPattern, addPatternFacet, codePatternFacet, getPatterns
codeWhiteSpaceFacet, getWhiteSpace, hasWhiteSpace, setWhiteSpace, setWhiteSpaceFacet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefaultValueWithString, createFromJavaObjectCode, createToJavaObjectCode, getJType, getName, getType, isCollection, isDateTime, isEnumerated, isPrimitive, newInstanceCode, setAsEnumerated, setFacets, validationCode
public final boolean hasMaximum()
public final java.lang.String getMaxExclusive()
public final void setMaxExclusive(java.lang.String max)
max
- The maximum exclusive value this XSDate can be.public final java.lang.String getMaxInclusive()
public final void setMaxInclusive(java.lang.String max)
max
- The maximum inclusive value this XSDate can be.public final boolean hasMinimum()
public final java.lang.String getMinExclusive()
public final void setMinExclusive(java.lang.String min)
min
- The minimum exclusive value this XSDate can be.public final java.lang.String getMinInclusive()
public final void setMinInclusive(java.lang.String min)
min
- The minimum inclusive value this XSDate can be.protected void setFacet(Facet facet)
setFacet
in class AbstractWhiteSpaceFacet
facet
- The facet to set for XSType.protected final void setRangeFacet(Facet facet)
facet
- The facet to transfer.protected final void codeRangeFacet(JSourceCode jsc, java.lang.String validatorName)
jsc
- The JSourceCode to fill in.validatorName
- The name of the TypeValidator that the range should be added to.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com