org.apache.xerces.impl.xs.identity
Class KeyRef
- org.apache.xerces.xs.XSIDCDefinition
Schema key reference identity constraint.
$Id: KeyRef.java 572110 2007-09-02 19:04:44Z mrglavas $
KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)- Constructs a keyref with the specified name.
|
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, getRefKey, getSelector, getSelectorStr, getType, setSelector, toString |
fKey
protected final UniqueOrKey fKey
The key (or unique) being referred to.
KeyRef
public KeyRef(String namespace,
String identityConstraintName,
String elemName,
UniqueOrKey key)Constructs a keyref with the specified name.
getKey
public UniqueOrKey getKey()
Returns the key being referred to.
getRefKey
public org.apache.xerces.xs.XSIDCDefinition getRefKey()
{referenced key} Required if {identity-constraint category} is keyref,
forbidden otherwise. An identity-constraint definition with
{identity-constraint category} equal to key or unique.
- getRefKey in interface org.apache.xerces.xs.XSIDCDefinition
- getRefKey in interface IdentityConstraint
Copyright B) 1999-2007 The Apache Software Foundation. All Rights Reserved.