|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSIdentityConstraint
Identity constraint.
Field Summary | |
---|---|
static short |
KEY
|
static short |
KEYREF
|
static short |
UNIQUE
|
Method Summary | |
---|---|
short |
getCategory()
Returns the type of the identity constraint. |
List<XSXPath> |
getFields()
Returns the list of field XPaths. |
String |
getName()
Name of the identity constraint. |
XSElementDecl |
getParent()
Gets the XSElementDecl that owns this identity constraint. |
XSIdentityConstraint |
getReferencedKey()
If this is KEYREF , returns the key XSIdentityConstraint
being referenced. |
XSXPath |
getSelector()
Returns the selector XPath expression as string. |
String |
getTargetNamespace()
Target namespace of the identity constraint. |
Methods inherited from interface com.sun.xml.xsom.XSComponent |
---|
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit |
Field Detail |
---|
static final short KEY
static final short KEYREF
static final short UNIQUE
Method Detail |
---|
XSElementDecl getParent()
XSElementDecl
that owns this identity constraint.
String getName()
XSIdentityConstraint
within
the namespace.
String getTargetNamespace()
getParent().getTargetNamespace()
.
short getCategory()
KEY
,KEYREF
, or UNIQUE
.XSXPath getSelector()
List<XSXPath> getFields()
String
s,
each representing the XPath.XSIdentityConstraint getReferencedKey()
KEYREF
, returns the key XSIdentityConstraint
being referenced.
getCategory()
==KEYREF
).
IllegalStateException
- if getCategory()
!=KEYREF
|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |