org.exolab.castor.xml.schema
Class KeyRef
- java.io.Serializable
A class that represents the XML Schema Identity Constraint: KeyRef.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:32 $
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD |
KeyRef(String name, String refer)- Creates a new KeyRef Identity-Constraint.
|
String | getRefer()- Returns the refer field (the name of the key being referenced).
|
short | getStructureType()- Returns the type of this Schema Structure.
|
void | setRefer(String refer)- Sets the refer field (the name of the key being referenced).
|
addField, getFields, getId, getName, getSelector, getStructureType, removeField, setId, setName, setSelector, validate |
KeyRef
public KeyRef(String name,
String refer)
throws SchemaException Creates a new KeyRef Identity-Constraint.
getRefer
public String getRefer()
Returns the refer field (the name of the key being referenced).
- the refer field (the name of the key being referenced).
getStructureType
public short getStructureType()
Returns the type of this Schema Structure.
- getStructureType in interface IdentityConstraint
- the type of this Schema Structure.
setRefer
public void setRefer(String refer)
throws SchemaException Sets the refer field (the name of the key being referenced).
refer - the name of the key to reference. Must not be null.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com