public class KeyRef extends IdentityConstraint
| Modifier and Type | Field and Description | 
|---|---|
| protected UniqueOrKey | fKeyThe key (or unique) being referred to. | 
fAnnotations, fFieldCount, fFields, fIdentityConstraintName, fNamespace, fNumAnnotations, fSelector, type| Constructor and Description | 
|---|
| KeyRef(java.lang.String namespace,
      java.lang.String identityConstraintName,
      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, 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,
      UniqueOrKey key)
public UniqueOrKey getKey()
public org.apache.xerces.xs.XSIDCDefinition getRefKey()
getRefKey in interface org.apache.xerces.xs.XSIDCDefinitiongetRefKey in class IdentityConstraintCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.