public class KeyRef extends IdentityConstraint
Modifier and Type | Field and Description |
---|---|
protected UniqueOrKey |
fKey
The key (or unique) being referred to.
|
fAnnotations, fElementName, fFieldCount, fFields, fIdentityConstraintName, fNamespace, fNumAnnotations, fSelector, type
IC_KEY, IC_KEYREF, IC_UNIQUE
Constructor and Description |
---|
KeyRef(String namespace,
String identityConstraintName,
String elemName,
UniqueOrKey key)
Constructs a keyref with the specified name.
|
Modifier and Type | Method and Description |
---|---|
UniqueOrKey |
getKey()
Returns the key being referred to.
|
XSIDCDefinition |
getRefKey()
{referenced key} Required if {identity-constraint category} is keyref,
forbidden otherwise.
|
addAnnotation, addField, equals, getAnnotations, getCategory, getElementName, getFieldAt, getFieldCount, getFieldStrs, getIdentityConstraintName, getName, getNamespace, getNamespaceItem, getSelector, getSelectorStr, getType, setSelector, toString
protected final UniqueOrKey fKey
public KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)
public UniqueOrKey getKey()
public XSIDCDefinition getRefKey()
getRefKey
in interface XSIDCDefinition
getRefKey
in class IdentityConstraint
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.