org.exolab.castor.xml.schema
Class Key

java.lang.Object
  extended by org.exolab.castor.xml.schema.Structure
      extended by org.exolab.castor.xml.schema.Annotated
          extended by org.exolab.castor.xml.schema.IdentityConstraint
              extended by org.exolab.castor.xml.schema.Key
All Implemented Interfaces:
java.io.Serializable

public class Key
extends IdentityConstraint

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:32 $
Author:
Keith Visco
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exolab.castor.xml.schema.Structure
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD
 
Constructor Summary
Key(java.lang.String name)
          Creates a new Key Identity-Constraint.
 
Method Summary
 short getStructureType()
          Returns the type of this Schema Structure
 
Methods inherited from class org.exolab.castor.xml.schema.IdentityConstraint
addField, getFields, getId, getName, getSelector, removeField, setId, setName, setSelector, validate
 
Methods inherited from class org.exolab.castor.xml.schema.Annotated
addAnnotation, getAnnotations, removeAnnotation
 
Methods inherited from class org.exolab.castor.xml.schema.Structure
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Key

public Key(java.lang.String name)
    throws SchemaException
Creates a new Key Identity-Constraint.

Parameters:
name, - the name for the IdentityConstraint. Must not be null.
Throws:
SchemaException
Method Detail

getStructureType

public short getStructureType()
Returns the type of this Schema Structure

Specified by:
getStructureType in class IdentityConstraint
Returns:
the type of this Schema Structure


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com