Public Member Functions

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

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

List of all members.

Public Member Functions

 KeyRef (String name, String refer) throws SchemaException
String getRefer ()
void setRefer (String refer) throws SchemaException
short getStructureType ()

Detailed Description

A class that represents the XML Schema Identity Constraint: KeyRef.

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

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.KeyRef.KeyRef ( String  name,
String  refer 
) throws SchemaException

Creates a new KeyRef Identity-Constraint.

Parameters:
name,the name for the IdentityConstraint. Must not be null.
Exceptions:
SchemaException when name or refer are null.

References org.exolab.castor.xml.schema.KeyRef.setRefer().


Member Function Documentation

String org.exolab.castor.xml.schema.KeyRef.getRefer (  ) 

Returns the refer field (the name of the key being referenced).

Returns:
the refer field (the name of the key being referenced).
short org.exolab.castor.xml.schema.KeyRef.getStructureType (  )  [virtual]

Returns the type of this Schema Structure.

Returns:
the type of this Schema Structure.

Implements org.exolab.castor.xml.schema.IdentityConstraint.

void org.exolab.castor.xml.schema.KeyRef.setRefer ( String  refer  )  throws SchemaException

Sets the refer field (the name of the key being referenced).

Parameters:
refer the name of the key to reference. Must not be null.
Exceptions:
SchemaException when refer is null.

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


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