Public Member Functions

org.exolab.castor.xml.schema.IdentitySelector Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.IdentitySelector:
org.exolab.castor.xml.schema.Annotated org.exolab.castor.xml.schema.Structure

List of all members.

Public Member Functions

 IdentitySelector (String xpath) throws SchemaException
String getId ()
String getXPath ()
void setId (String id)
void setXPath (String xpath) throws SchemaException
short getStructureType ()
void validate () throws ValidationException

Detailed Description

A class which represents the selector for an IdentityConstraint

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:32

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.IdentitySelector.IdentitySelector ( String  xpath  )  throws SchemaException

Creates a new IdentitySelector.

Parameters:
xpath,the xpath for the IdentitySelector. Must not be null.
Exceptions:
SchemaException if xpath is null.

References org.exolab.castor.xml.schema.IdentitySelector.setXPath().


Member Function Documentation

String org.exolab.castor.xml.schema.IdentitySelector.getId (  ) 

Returns the Id of this IdentitySelector, or null if no Id has been set.

Returns:
the Id of this IdentitySelector, or null if no Id has been set.
short org.exolab.castor.xml.schema.IdentitySelector.getStructureType (  )  [virtual]

Returns the type of this Schema Structure

Returns:
the type of this Schema Structure

Implements org.exolab.castor.xml.schema.Structure.

String org.exolab.castor.xml.schema.IdentitySelector.getXPath (  ) 

Returns the XPath of this IdentitySelector. This value will never be null.

Returns:
the XPath of this IdentitySelector.
void org.exolab.castor.xml.schema.IdentitySelector.setId ( String  id  ) 

Sets the Id for this IdentitySelector.

Parameters:
id the Id for this IdentitySelector.
void org.exolab.castor.xml.schema.IdentitySelector.setXPath ( String  xpath  )  throws SchemaException

Sets the XPath expression for this Selector.

Parameters:
xpath the XPath expression for this IdentitySelector. Must not be null.
Exceptions:
SchemaException if xpath is null.

Referenced by org.exolab.castor.xml.schema.IdentitySelector.IdentitySelector().

void org.exolab.castor.xml.schema.IdentitySelector.validate (  )  throws ValidationException [virtual]

Checks the validity of this Schema defintion.

Exceptions:
ValidationException when this Schema definition is invalid.

Implements org.exolab.castor.xml.schema.Structure.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties