Package org.exolab.castor.xml.schema
Class Unique
- java.lang.Object
-
- org.exolab.castor.xml.schema.Structure
-
- org.exolab.castor.xml.schema.Annotated
-
- org.exolab.castor.xml.schema.IdentityConstraint
-
- org.exolab.castor.xml.schema.Unique
-
- All Implemented Interfaces:
java.io.Serializable
public class Unique extends IdentityConstraint
A class that represents the XML Schema Identity Constraint: Unique.- Version:
- $Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
- 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
Constructors Constructor Description Unique(java.lang.String name)
Creates a new Unique Identity-Constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
Unique
public Unique(java.lang.String name) throws SchemaException
Creates a new Unique 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 classIdentityConstraint
- Returns:
- the type of this Schema Structure
-
-