org.exolab.castor.xml.schema
public class KeyRef extends IdentityConstraint
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:32 $
| Constructor Summary | |
|---|---|
| KeyRef(String name, String refer)
Creates a new KeyRef Identity-Constraint.
| |
| Method Summary | |
|---|---|
| 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).
|
Parameters: name, the name for the IdentityConstraint. Must not be null.
Throws: SchemaException when name or refer are null.
Returns: the refer field (the name of the key being referenced).
Returns: the type of this Schema Structure.
Parameters: refer the name of the key to reference. Must not be null.
Throws: SchemaException when refer is null.