|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.IdentityConstraint
org.exolab.castor.xml.schema.KeyRef
public class KeyRef
A class that represents the XML Schema Identity Constraint: KeyRef.
| Field Summary |
|---|
| Fields inherited from class org.exolab.castor.xml.schema.Structure |
|---|
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 |
| Constructor Summary | |
|---|---|
KeyRef(java.lang.String name,
java.lang.String refer)
Creates a new KeyRef Identity-Constraint. |
|
| Method Summary | |
|---|---|
java.lang.String |
getRefer()
Returns the refer field (the name of the key being referenced). |
short |
getStructureType()
Returns the type of this Schema Structure. |
void |
setRefer(java.lang.String refer)
Sets the refer field (the name of the key being referenced). |
| Methods inherited from class org.exolab.castor.xml.schema.IdentityConstraint |
|---|
addField, getFields, getId, getName, getSelector, removeField, setId, setName, setSelector, validate |
| Methods inherited from class org.exolab.castor.xml.schema.Annotated |
|---|
addAnnotation, getAnnotations, removeAnnotation |
| Methods inherited from class org.exolab.castor.xml.schema.Structure |
|---|
isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyRef(java.lang.String name,
java.lang.String refer)
throws SchemaException
name - the name for the IdentityConstraint. Must not be null.
SchemaException - when name or refer are null.| Method Detail |
|---|
public java.lang.String getRefer()
public void setRefer(java.lang.String refer)
throws SchemaException
refer - the name of the key to reference. Must not be null.
SchemaException - when refer is null.public short getStructureType()
getStructureType in class IdentityConstraint
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||