public interface SchemaIdentityConstraint extends SchemaComponent, SchemaAnnotated
Modifier and Type | Interface and Description |
---|---|
static class |
SchemaIdentityConstraint.Ref
Used to allow on-demand loading of identity constraints.
|
Modifier and Type | Field and Description |
---|---|
static int |
CC_KEY
A xs:key constraint.
|
static int |
CC_KEYREF
A xs:keyRef constraint.
|
static int |
CC_UNIQUE
A xs:unique constraint.
|
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
Modifier and Type | Method and Description |
---|---|
int |
getConstraintCategory()
Return the constraint category.
|
java.lang.Object |
getFieldPath(int index)
Return a compiled xpath object for the field.
|
java.lang.String[] |
getFields()
Return (a copy of) the xpaths for all the fields.
|
java.util.Map |
getNSMap()
Return a read-only copy of the namespace map.
|
SchemaIdentityConstraint |
getReferencedKey()
Returns the key that a key ref refers to.
|
java.lang.String |
getSelector()
Return the selector xpath as a string.
|
java.lang.Object |
getSelectorPath()
Return a compiled xpath object for the selector.
|
java.lang.Object |
getUserData()
Returns user-specific information.
|
getComponentRef, getComponentType, getName, getSourceName, getTypeSystem
getAnnotation
static final int CC_KEY
getConstraintCategory()
.static final int CC_KEYREF
getConstraintCategory()
.static final int CC_UNIQUE
getConstraintCategory()
.java.lang.String getSelector()
java.lang.Object getSelectorPath()
java.lang.String[] getFields()
java.lang.Object getFieldPath(int index)
java.util.Map getNSMap()
int getConstraintCategory()
SchemaIdentityConstraint getReferencedKey()
java.lang.Object getUserData()
SchemaBookmark