|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.validators.schema.identity.IdentityConstraint
Base class of Schema identity constraint.
Field Summary | |
---|---|
protected java.lang.String |
fElementName
Element name. |
protected int |
fFieldCount
Field count. |
protected Field[] |
fFields
Fields. |
protected java.lang.String |
fIdentityConstraintName
Identity constraint name. |
protected Selector |
fSelector
Selector. |
static short |
KEY
Type: key. |
static short |
KEYREF
Type: key reference. |
static short |
UNIQUE
Type: unique. |
Constructor Summary | |
---|---|
protected |
IdentityConstraint(java.lang.String identityConstraintName,
java.lang.String elementName)
Default constructor. |
Method Summary | |
---|---|
void |
addField(Field field)
Adds a field. |
boolean |
equals(IdentityConstraint id)
|
java.lang.String |
getElementName()
Returns the element name. |
Field |
getFieldAt(int index)
Returns the field at the specified index. |
int |
getFieldCount()
Returns the field count. |
java.lang.String |
getIdentityConstraintName()
Returns the identity constraint name. |
Selector |
getSelector()
Returns the selector. |
abstract short |
getType()
Returns the identity constraint type. |
void |
setSelector(Selector selector)
Sets the selector. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short UNIQUE
public static final short KEY
public static final short KEYREF
protected java.lang.String fIdentityConstraintName
protected java.lang.String fElementName
protected Selector fSelector
protected int fFieldCount
protected Field[] fFields
Constructor Detail |
protected IdentityConstraint(java.lang.String identityConstraintName, java.lang.String elementName)
Method Detail |
public abstract short getType()
public java.lang.String getIdentityConstraintName()
public java.lang.String getElementName()
public void setSelector(Selector selector)
public Selector getSelector()
public void addField(Field field)
public int getFieldCount()
public Field getFieldAt(int index)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(IdentityConstraint id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |