public class Key extends IdentityConstraint
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 and Description |
---|
Key(String name)
Creates a new Key Identity-Constraint.
|
Modifier and Type | Method and Description |
---|---|
short |
getStructureType()
Returns the type of this Schema Structure
|
addField, getFields, getId, getName, getSelector, removeField, setId, setName, setSelector, validate
addAnnotation, getAnnotations, removeAnnotation
public Key(String name) throws SchemaException
name
- the name for the IdentityConstraint. Must not be null.SchemaException
public short getStructureType()
getStructureType
in class IdentityConstraint
Copyright © 2021. All rights reserved.