org.exolab.castor.xml.schema
public class IdentityField extends Annotated
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:32 $
Constructor Summary | |
---|---|
IdentityField(String xpath)
Creates a new IdentityField.
|
Method Summary | |
---|---|
String | getId()
Returns the Id of this IdentityField, or null if no
Id has been set.
|
short | getStructureType()
Returns the type of this Schema Structure |
String | getXPath()
Returns the XPath of this IdentityField. |
void | setId(String id)
Sets the Id for this IdentityField.
|
void | setXPath(String xpath)
Sets the XPath expression for this Field.
|
void | validate()
Checks the validity of this Schema defintion. |
Parameters: xpath, the xpath for the IdentityField. Must not be null.
Throws: SchemaException if xpath is null.
Returns: the Id of this IdentityField, or null if no Id has been set.
Returns: the type of this Schema Structure
Returns: the XPath of this IdentityField.
Parameters: id the Id for this IdentityField.
Parameters: xpath the XPath expression for this IdentityField. Must not be null.
Throws: SchemaException if xpath is null.
Throws: ValidationException when this Schema definition is invalid.