public interface SchemaFacetEnumeration extends SchemaFacet
foreign key constraint (osd:tableRef);xs:enumeration;osd:enumeration;enumeration constraint defined in a Java class;osd:nomenclature (deprecated);osd:nomenclature osd:path="pathToNomenclature"
(deprecated);nomenclature constraint defined in a Java class (deprecated);osd:FacetOResource constraint.SchemaNode.getEnumerationList(com.orchestranetworks.instance.ValueContext),
SchemaNode.getEnumerationNomenclature(com.orchestranetworks.instance.ValueContext),
SchemaFacet.isFacetEnumeration(),
SchemaFacet.isEnumerationNomenclature(),
SchemaFacet.isEnumerationList(),
SchemaFacet.isEnumerationTableRef(),
XML Schema,
W3C Recommendation,
FacetOResource constraint| Modifier and Type | Method and Description |
|---|---|
boolean |
containsValue(Object aValue,
ValueContext aValueContext)
Returns
true if the current enumeration or nomenclature
contains the given value. |
SchemaNode |
getEnumerationNode()
If this facet is dynamic, returns the node whose value is a
List that contains the enumeration. |
<T> Nomenclature<T> |
getNomenclature()
Returns the nomenclature defined in the data model.
|
Path |
getPathToNomenclature()
If this facet is dynamic, returns the
path defined in the data model. |
Path |
getPathToValues()
Returns the
path defined in the data model, if this facet is dynamic. |
<T> List<T> |
getValues()
Returns the values of this enumeration if it is statically
defined in the data model.
|
getDocumentation, getValidationPolicy, isEnumerationList, isEnumerationNomenclature, isEnumerationTableRef, isFacetBoundaryMaxExclusive, isFacetBoundaryMaxInclusive, isFacetBoundaryMinExclusive, isFacetBoundaryMinInclusive, isFacetEnumeration, isFacetExcludeSegment, isFacetExcludeValue, isFacetFractionDigits, isFacetLength, isFacetMaxLength, isFacetMinLength, isFacetOResource, isFacetPattern, isFacetTotalDigits<T> List<T> getValues()
null if this enumeration is dynamic or is a SchemaFacetTableRef.Path getPathToValues()
path defined in the data model, if this facet is dynamic.
Returns null if this enumeration:
SchemaNode getEnumerationNode()
List that contains the enumeration.
Returns null if this enumeration:
<T> Nomenclature<T> getNomenclature()
null if this enumeration is dynamic or is not a nomenclature.Path getPathToNomenclature()
path defined in the data model.
Returns null if this enumeration:
boolean containsValue(Object aValue, ValueContext aValueContext)
true if the current enumeration or nomenclature
contains the given value.