Interface UniquenessConstraint
public interface UniquenessConstraint
Defines a uniqueness constraint (property
xs:unique)
held by a table node in a data model.
This constraint indicates that a value or a set of values has to be unique
in a table.-
Method Summary
Modifier and TypeMethodDescriptionList<? extends SchemaNode>Returns the nodes in the data model that are declared as being unique (propertyfield).Returns the name of the uniqueness constraint defined in the data model (propertyname).Returns the validation policy of this uniqueness constraint.
-
Method Details
-
getUniquenessName
String getUniquenessName()Returns the name of the uniqueness constraint defined in the data model (propertyname). -
getUniqueFields
List<? extends SchemaNode> getUniqueFields()Returns the nodes in the data model that are declared as being unique (propertyfield). -
getValidationPolicy
SchemaFacetValidationPolicy getValidationPolicy()Returns the validation policy of this uniqueness constraint. Validation policy properties are defined under the elementosd:validation.- Since:
- 5.8.1
- See Also:
-