org.apache.ws.jaxme.xs.types
Class XSNegativeInteger

java.lang.Object
  extended by org.apache.ws.jaxme.xs.types.AbstractBuiltinType
      extended by org.apache.ws.jaxme.xs.types.AbstractSimpleType
          extended by org.apache.ws.jaxme.xs.types.AbstractAtomicType
              extended by org.apache.ws.jaxme.xs.types.XSDecimal
                  extended by org.apache.ws.jaxme.xs.types.XSInteger
                      extended by org.apache.ws.jaxme.xs.types.XSNonPositiveInteger
                          extended by org.apache.ws.jaxme.xs.types.XSNegativeInteger
All Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSNegativeInteger
extends XSNonPositiveInteger

The xs:integer type

Author:
Jochen Wiedmann

Constructor Summary
protected XSNegativeInteger()
           
 
Method Summary
static XSType getInstance()
           
 java.lang.String getMaxExclusive()
          Returns the value of the "maxExclusive" facet or null, if the facet is not set.
 java.lang.String getMaxInclusive()
          Returns the value of the "maxInclusive" facet or null, if the facet is not set.
 XsQName getName()
          If the type is global: Returns the types name.
 XSType getRestrictedType()
          If the simple type is a restriction, returns the restricted simple type.
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSInteger
getFractionDigits
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSDecimal
isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType
getAtomicType, getLength, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType
getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, isSimple, isTopLevelObject, isUnion
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType
getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSNegativeInteger

protected XSNegativeInteger()
Method Detail

getName

public XsQName getName()
Description copied from interface: XSType

If the type is global: Returns the types name. Otherwise returns null.

Specified by:
getName in interface XSType
Overrides:
getName in class XSNonPositiveInteger

getMaxInclusive

public java.lang.String getMaxInclusive()
Description copied from interface: XSAtomicType

Returns the value of the "maxInclusive" facet or null, if the facet is not set.

Specified by:
getMaxInclusive in interface XSAtomicType
Overrides:
getMaxInclusive in class XSNonPositiveInteger

getMaxExclusive

public java.lang.String getMaxExclusive()
Description copied from interface: XSAtomicType

Returns the value of the "maxExclusive" facet or null, if the facet is not set.

Specified by:
getMaxExclusive in interface XSAtomicType
Overrides:
getMaxExclusive in class XSNonPositiveInteger

getInstance

public static XSType getInstance()

getRestrictedType

public XSType getRestrictedType()
Description copied from interface: XSSimpleType

If the simple type is a restriction, returns the restricted simple type.

Specified by:
getRestrictedType in interface XSSimpleType
Overrides:
getRestrictedType in class XSNonPositiveInteger