org.apache.xerces.impl.validation.identity
Class IdentityConstraint

java.lang.Object
  |
  +--org.apache.xerces.impl.validation.identity.IdentityConstraint
Direct Known Subclasses:
Key, KeyRef, Unique

public abstract class IdentityConstraint
extends java.lang.Object

Base class of Schema identity constraint.

Version:
$Id: IdentityConstraint.java,v 1.1.2.1 2001/01/16 04:36:05 andyc Exp $
Author:
Andy Clark, IBM

Constructor Summary
protected IdentityConstraint()
          Default constructor.
 
Method Summary
 void addField(Field field)
          Adds a field.
 Field getFieldAt(int index)
          Returns the field at the specified index.
 int getFieldCount()
          Returns the field count.
 Selector getSelector()
          Returns the selector.
 void setSelector(Selector selector)
          Sets the selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityConstraint

protected IdentityConstraint()
Default constructor.
Method Detail

setSelector

public void setSelector(Selector selector)
Sets the selector.

getSelector

public Selector getSelector()
Returns the selector.

addField

public void addField(Field field)
Adds a field.

getFieldCount

public int getFieldCount()
Returns the field count.

getFieldAt

public Field getFieldAt(int index)
Returns the field at the specified index.


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