Interface UniquenessConstraint
-
public interface UniquenessConstraintDefines a uniqueness constraint (propertyxs: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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends SchemaNode>getUniqueFields()Returns the nodes in the data model that are declared as being unique (propertyfield).StringgetUniquenessName()Returns the name of the uniqueness constraint defined in the data model (propertyname).SchemaFacetValidationPolicygetValidationPolicy()Returns the validation policy of this uniqueness constraint.
-
-
-
Method Detail
-
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:
SchemaFacetValidationPolicy
-
-