org.jbind.xml.schema.element
Class TypeKeyConstraintElement

java.lang.Object
  extended byorg.jbind.xml.schema.element.Parent
      extended byorg.jbind.xml.schema.element.Element
          extended byorg.jbind.xml.schema.element.OpenAttributes
              extended byorg.jbind.xml.schema.element.Annotated
                  extended byorg.jbind.xml.schema.element.Named
                      extended byorg.jbind.xml.schema.element.IdentityConstraintElement
                          extended byorg.jbind.xml.schema.element.TypeIdentityConstraintElement
                              extended byorg.jbind.xml.schema.element.TypeKeyOrUniqueConstraintElement
                                  extended byorg.jbind.xml.schema.element.TypeKeyConstraintElement
All Implemented Interfaces:
IAnnotated, IComponentJobHelper, IElement, IHasBindingAttributes, IHasLocation, IIdentityConstraintElement, IJobHelper, IKeyConstraintElement, INamed, INode, IOpenAttributes, IParent, ISchemaDataAdder, ISourceInfo, ITopLevelJobHelper, IXmlElement, IXmlNode

public class TypeKeyConstraintElement
extends TypeKeyOrUniqueConstraintElement
implements IKeyConstraintElement


Constructor Summary
TypeKeyConstraintElement(CreationParams aCreationParams)
           
 
Method Summary
 void completeComponent(IElementHelper anElementHelper, IComponent aComponent, IConstraintViolations aViolations)
           
 IComponent createComponent(IElementHelper anElementHelper, IConstraintViolations aViolations)
           
 
Methods inherited from class org.jbind.xml.schema.element.TypeKeyOrUniqueConstraintElement
doCreateAttribute, getScope
 
Methods inherited from class org.jbind.xml.schema.element.IdentityConstraintElement
addSchemaData, collectRefsForCompletion, collectRefsForCreation, collectRefsForValidation, doCollectRefsForCompletion, doCreateChild, getSelector, getSymbolSpace, iterFields, validateElement
 
Methods inherited from class org.jbind.xml.schema.element.Named
createAndAddJob, getGlobalRef, getName, setName, toString
 
Methods inherited from class org.jbind.xml.schema.element.Annotated
getAnnotation, getAnnotationElement, getId, iterAppInfos
 
Methods inherited from class org.jbind.xml.schema.element.OpenAttributes
getAttributeString
 
Methods inherited from class org.jbind.xml.schema.element.Element
acceptAppInfoVisitor, addAttribute, createChild, createGlobalRef, getAttributes, getBindingAttribute, getBoolean, getChildByClass, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalName, getLocalStringBindingAttribute, getLocation, getNamespace, getNamespaceUri, getParent_, getParentHelper, getPrefix, getPrefixToNamespaceMapping, getQName, getSchema, getSchemaDocument, getSchemaElement, getStringBindingAttribute, getSubElement, getTargetNamespace, isTopLevelComponent, iterChildrenByClass, setLocation, setParent_
 
Methods inherited from class org.jbind.xml.schema.element.Parent
addChild, hasChildren, iterChildren, iterXmlNodes, visitChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.schema.element.IIdentityConstraintElement
getSelector, iterFields
 
Methods inherited from interface org.jbind.xml.schema.element.INamed
getGlobalRef, getName, getSymbolSpace
 
Methods inherited from interface org.jbind.xml.schema.element.IAnnotated
getAnnotationElement, getId
 
Methods inherited from interface org.jbind.xml.schema.element.IOpenAttributes
getAttributeString
 
Methods inherited from interface org.jbind.xml.schema.element.IElement
addAttribute, createChild, getQName, getSchema, getSchemaDocument, getSubElement, isTopLevelComponent, iterChildrenByClass, validateElement
 
Methods inherited from interface org.jbind.xml.schema.element.IParent
addChild, hasChildren, iterChildren
 
Methods inherited from interface org.jbind.xml.schema.element.INode
getParent_, setLocation, setParent_
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlNode
acceptAppInfoVisitor
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement
getAttributes, iterXmlNodes
 
Methods inherited from interface org.jbind.xml.schema.instantiation.IComponentJobHelper
collectRefsForCompletion, collectRefsForCreation, collectRefsForValidation, isTopLevelComponent
 
Methods inherited from interface org.jbind.xml.schema.instantiation.ITopLevelJobHelper
createAndAddJob
 
Methods inherited from interface org.jbind.xml.core.cmp.ISchemaDataAdder
addSchemaData
 

Constructor Detail

TypeKeyConstraintElement

public TypeKeyConstraintElement(CreationParams aCreationParams)
Method Detail

createComponent

public IComponent createComponent(IElementHelper anElementHelper,
                                  IConstraintViolations aViolations)
Specified by:
createComponent in interface IComponentJobHelper

completeComponent

public void completeComponent(IElementHelper anElementHelper,
                              IComponent aComponent,
                              IConstraintViolations aViolations)
Specified by:
completeComponent in interface IComponentJobHelper
Overrides:
completeComponent in class IdentityConstraintElement