|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SchemaIdentityConstraint
Represents an identity constraint definition.
| Nested Class Summary | |
|---|---|
static class |
SchemaIdentityConstraint.Ref
Used to allow on-demand loading of identity constraints. |
| Field Summary | |
|---|---|
static int |
CC_KEY
A xs:key constraint. |
static int |
CC_KEYREF
A xs:keyRef constraint. |
static int |
CC_UNIQUE
A xs:unique constraint. |
| Fields inherited from interface org.apache.xmlbeans.SchemaComponent |
|---|
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE |
| Method Summary | |
|---|---|
int |
getConstraintCategory()
Return the constraint category. |
Object |
getFieldPath(int index)
Return a compiled xpath object for the field. |
String[] |
getFields()
Return (a copy of) the xpaths for all the fields. |
Map |
getNSMap()
Return a read-only copy of the namespace map. |
SchemaIdentityConstraint |
getReferencedKey()
Returns the key that a key ref refers to. |
String |
getSelector()
Return the selector xpath as a string. |
Object |
getSelectorPath()
Return a compiled xpath object for the selector. |
Object |
getUserData()
Returns user-specific information. |
| Methods inherited from interface org.apache.xmlbeans.SchemaComponent |
|---|
getComponentRef, getComponentType, getName, getSourceName, getTypeSystem |
| Methods inherited from interface org.apache.xmlbeans.SchemaAnnotated |
|---|
getAnnotation |
| Field Detail |
|---|
static final int CC_KEY
getConstraintCategory().
static final int CC_KEYREF
getConstraintCategory().
static final int CC_UNIQUE
getConstraintCategory().
| Method Detail |
|---|
String getSelector()
Object getSelectorPath()
String[] getFields()
Object getFieldPath(int index)
Map getNSMap()
int getConstraintCategory()
CC_KEY, CC_KEYREF,
or CC_UNIQUE.
SchemaIdentityConstraint getReferencedKey()
Object getUserData()
SchemaBookmark
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||