BEA Systems, Inc.


weblogic.apache.xerces.validators.schema.identity
Class KeyRef

java.lang.Object
  |
  +--weblogic.apache.xerces.validators.schema.identity.IdentityConstraint
        |
        +--weblogic.apache.xerces.validators.schema.identity.KeyRef

public class KeyRef
extends IdentityConstraint

Schema key reference identity constraint.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

Version:
$Id: KeyRef.java,v 1.4 2001/05/08 19:55:46 neilg Exp $
Author:
Andy Clark, IBM

Field Summary
protected  IdentityConstraint fKey
          The key (or unique) being referred to.
 
Fields inherited from class weblogic.apache.xerces.validators.schema.identity.IdentityConstraint
fElementName, fFieldCount, fFields, fIdentityConstraintName, fSelector, KEY, KEYREF, UNIQUE
 
Constructor Summary
KeyRef(java.lang.String identityConstraintName, IdentityConstraint key, java.lang.String elementName)
          Constructs a keyref with the specified name.
 
Method Summary
 IdentityConstraint getKey()
          Returns the key being referred to.
 short getType()
          Returns the identity constraint type.
 
Methods inherited from class weblogic.apache.xerces.validators.schema.identity.IdentityConstraint
addField, equals, getElementName, getFieldAt, getFieldCount, getIdentityConstraintName, getSelector, setSelector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fKey

protected IdentityConstraint fKey
The key (or unique) being referred to.
Constructor Detail

KeyRef

public KeyRef(java.lang.String identityConstraintName,
              IdentityConstraint key,
              java.lang.String elementName)
Constructs a keyref with the specified name.
Method Detail

getType

public short getType()
Returns the identity constraint type.

Overrides:
getType in class IdentityConstraint

getKey

public IdentityConstraint getKey()
Returns the key being referred to.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference