KeyRefpublic class KeyRef extends IdentityConstraint Schema key reference identity constraint. |
Fields Summary |
---|
protected final UniqueOrKey | fKeyThe key (or unique) being referred to. |
Constructors Summary |
---|
public KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)Constructs a keyref with the specified name.
super(namespace, identityConstraintName, elemName);
fKey = key;
type = IC_KEYREF;
|
Methods Summary |
---|
public UniqueOrKey | getKey()Returns the key being referred to.
return fKey;
| 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.
return fKey;
|
|