Class AtomicType

All Implemented Interfaces:
Serializable, Referable
Direct Known Subclasses:
AnyURIType, BinaryType, BooleanType, DateTimeType, DecimalType, DurationType, RealType, StringType

public abstract class AtomicType extends SimpleType
The base class for built-in atomic Schema types
Version:
$Revision:
Author:
Arnaud Berry
See Also:
  • Constructor Details

    • AtomicType

      public AtomicType()
  • Method Details

    • getPattern

      String getPattern()
      Gets the pattern facet returns null if there is none
    • isMinInclusive

      public boolean isMinInclusive()
      Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facet
    • isMaxInclusive

      public boolean isMaxInclusive()
      Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facet
    • getMin

      Facet getMin()
      Gets the MIN_INCLUSIVE facet or the MIN_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no minimum
    • getMax

      Facet getMax()
      Gets the MAX_INCLUSIVE facet or the MAX_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no maximum