|
|||||||||
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. |
java.util.List<XSXPath> |
getFields()
Returns the list of field XPaths. |
java.lang.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. |
java.lang.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.
java.lang.String getName()
XSIdentityConstraint
within
the namespace.
java.lang.String getTargetNamespace()
getParent().getTargetNamespace()
.
short getCategory()
KEY
,KEYREF
, or UNIQUE
.XSXPath getSelector()
java.util.List<XSXPath> getFields()
String
s,
each representing the XPath.XSIdentityConstraint getReferencedKey()
KEYREF
, returns the key XSIdentityConstraint
being referenced.
getCategory()
==KEYREF
).
java.lang.IllegalStateException
- if getCategory()
!=KEYREF
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |