org.exolab.castor.xml.schema
Class Unique
- java.io.Serializable
A class that represents the XML Schema Identity Constraint: Unique.
$Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
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 |
Unique(String name) - Creates a new Unique Identity-Constraint.
|
addField , getFields , getId , getName , getSelector , getStructureType , removeField , setId , setName , setSelector , validate |
Unique
public Unique(String name)
throws SchemaException
Creates a new Unique Identity-Constraint.
name
- the name for the IdentityConstraint. Must not be null.
getStructureType
public short getStructureType()
Returns the type of this Schema Structure
- getStructureType in interface IdentityConstraint
- the type of this Schema Structure
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com