Interface SchemaFacetEnumeration

    • Method Detail

      • isEnumerationStatic

        boolean isEnumerationStatic()
        Returns true if this enumeration is static (declared using the element xs:enumeration).
      • isConstraintEnumeration

        boolean isConstraintEnumeration()
        Returns true if this enumeration is programmatic (declared using the element osd:constraintEnumeration).
        See Also:
        ConstraintEnumeration
      • getValues

        <T> List<T> getValues()
        Returns the values of this enumeration if it is statically defined in the data model. Returns null if this enumeration is dynamic or is a SchemaFacetTableRef.
      • getPathToValues

        Path getPathToValues()
        Returns the path defined in the data model, if this facet is dynamic. Returns null if this enumeration:
        • is static,
        • is a foreign key constraint,
        • defines a java class.
      • getEnumerationNode

        SchemaNode getEnumerationNode()
        If this facet is dynamic, returns the node whose value is a List that contains the enumeration. Returns null if this enumeration:
        • is static,
        • is a foreign key constraint,
        • defines a Java class.
      • getPathToNomenclature

        Path getPathToNomenclature()
        If this facet is dynamic, returns the path defined in the data model. Returns null if this enumeration:
        • is not a nomenclature,
        • is a static nomenclature,
        • defines a Java class.
      • containsValue

        boolean containsValue​(Object aValue,
                              ValueContext aValueContext)
        Returns true if the current enumeration or nomenclature contains the given value.