org.exolab.castor.xml.schema
public class KeyRef extends IdentityConstraint
Version: $Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
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.