public interface XSIdentityConstraint extends XSComponent
Modifier and Type | Field and Description |
---|---|
static short |
KEY |
static short |
KEYREF |
static short |
UNIQUE |
Modifier and Type | Method and Description |
---|---|
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.
|
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
static final short KEY
static final short KEYREF
static final short UNIQUE
XSElementDecl getParent()
XSElementDecl
that owns this identity constraint.String getName()
XSIdentityConstraint
within
the namespace.String getTargetNamespace()
getParent().getTargetNamespace()
.short getCategory()
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
Copyright © 2021 JBoss by Red Hat. All rights reserved.