org.apache.xerces.impl.xs.identity
Class UniqueOrKey

java.lang.Object
  |
  +--org.apache.xerces.impl.xs.identity.IdentityConstraint
        |
        +--org.apache.xerces.impl.xs.identity.UniqueOrKey

public class UniqueOrKey
extends IdentityConstraint

Schema unique or key identity constraint. These two kinds of identity constraint have been combined to save the creation of a separate Vector object for any element that has both. A short int is used to distinguish which this object is.

Version:
$Id: UniqueOrKey.java,v 1.2 2002/01/29 01:15:15 lehors Exp $
Author:
Andy Clark, IBM

Field Summary
static short KEY_TYPE
           
 short type
           
static short UNIQUE_TYPE
           
 
Fields inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint
fElementName, fFieldCount, fFields, fIdentityConstraintName, fSelector, KEY, KEYREF, UNIQUE
 
Constructor Summary
UniqueOrKey(java.lang.String identityConstraintName, java.lang.String elemName, short type)
          Constructs a unique or a key identity constraint.
 
Methods inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint
addField, equals, getElementName, getFieldAt, getFieldCount, getIdentityConstraintName, getSelector, getType, setSelector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNIQUE_TYPE

public static short UNIQUE_TYPE

KEY_TYPE

public static short KEY_TYPE

type

public short type
Constructor Detail

UniqueOrKey

public UniqueOrKey(java.lang.String identityConstraintName,
                   java.lang.String elemName,
                   short type)
Constructs a unique or a key identity constraint.


Copyright © 1999-2001 Apache XML Project. All Rights Reserved.