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| Constructor and Description |
|---|
KeyRef(java.lang.String namespace,
java.lang.String identityConstraintName,
java.lang.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.
|
org.apache.xerces.xs.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, toStringprotected final UniqueOrKey fKey
public KeyRef(java.lang.String namespace,
java.lang.String identityConstraintName,
java.lang.String elemName,
UniqueOrKey key)
public UniqueOrKey getKey()
public org.apache.xerces.xs.XSIDCDefinition getRefKey()
getRefKey in interface org.apache.xerces.xs.XSIDCDefinitiongetRefKey in class IdentityConstraintCopyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.