java.io.Serializablepublic class IdentitySelector extends Annotated
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 | Description | 
|---|---|
IdentitySelector(java.lang.String xpath) | 
 Creates a new IdentitySelector. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
java.lang.String | 
getId() | 
 Returns the Id of this IdentitySelector, or null if no
 Id has been set. 
 | 
short | 
getStructureType() | 
 Returns the type of this Schema Structure 
 | 
java.lang.String | 
getXPath() | 
 Returns the XPath of this IdentitySelector. 
 | 
void | 
setId(java.lang.String id) | 
 Sets the Id for this IdentitySelector. 
 | 
void | 
setXPath(java.lang.String xpath) | 
 Sets the XPath expression for this Selector. 
 | 
void | 
validate() | 
 Checks the validity of this Schema defintion. 
 | 
addAnnotation, getAnnotations, removeAnnotationpublic IdentitySelector(java.lang.String xpath)
                 throws SchemaException
xpath - the xpath for the IdentitySelector. Must not be null.SchemaException - if xpath is null.public java.lang.String getId()
public java.lang.String getXPath()
public void setId(java.lang.String id)
id - the Id for this IdentitySelector.public void setXPath(java.lang.String xpath)
              throws SchemaException
xpath - the XPath expression for this IdentitySelector. Must not 
 be null.SchemaException - if xpath is null.public short getStructureType()
getStructureType in class Structurepublic void validate()
              throws ValidationException
validate in class StructureValidationException - when this Schema definition
 is invalid.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com