org.apache.ws.jaxme.xs.types

Class XSInteger

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType
Known Direct Subclasses:
XSLong, XSNonNegativeInteger, XSNonPositiveInteger

public class XSInteger
extends XSDecimal

The xs:integer type
Author:
Jochen Wiedmann

Constructor Summary

XSInteger()

Method Summary

Long
getFractionDigits()
Returns the value of the "fractionDigits" facet or null, if the facet is not set.
static XSType
getInstance()
XsQName
getName()
XSType
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.

Methods inherited from class org.apache.ws.jaxme.xs.types.XSDecimal

getInstance, getName, getRestrictedType, isRestriction

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType

getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType

getAtomicType, getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isList, isSimple, isTopLevelObject, isUnion

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType

getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate

Constructor Details

XSInteger

protected XSInteger()

Method Details

getFractionDigits

public Long getFractionDigits()
Returns the value of the "fractionDigits" facet or null, if the facet is not set.
Specified by:
getFractionDigits in interface XSAtomicType
Overrides:
getFractionDigits in interface AbstractAtomicType

getInstance

public static XSType getInstance()
Overrides:
getInstance in interface XSDecimal

getName

public XsQName getName()
Specified by:
getName in interface XSType
Overrides:
getName in interface XSDecimal

getRestrictedType

public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
Specified by:
getRestrictedType in interface XSSimpleType
Overrides:
getRestrictedType in interface XSDecimal