org.jbind.xml.schema.element
Class IdentityConstraintElement

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
All Implemented Interfaces:
IAnnotated, IComponentJobHelper, IElement, IHasBindingAttributes, IHasLocation, IIdentityConstraintElement, IJobHelper, INamed, INode, IOpenAttributes, IParent, ISchemaDataAdder, ISourceInfo, ITopLevelJobHelper, IXmlElement, IXmlNode
Direct Known Subclasses:
ElementIdentityConstraintElement, TypeIdentityConstraintElement

public abstract class IdentityConstraintElement
extends Named
implements IIdentityConstraintElement


Constructor Summary
IdentityConstraintElement(CreationParams aCPs, boolean aRestrictedForm)
           
 
Method Summary
 void addSchemaData(IComponentStore aComponentStore, IComponent aComponent, IConstraintViolations aViolations)
          Adds data from the schema to the specified component.
 void collectRefsForCompletion(IElementHelper anElementHelper, IJobRefs aJobRefs)
           
 void collectRefsForCreation(IJobRefs aJobRefs)
           
 void collectRefsForValidation(IElementHelper anElementHelper, IJobRefs aJobRefs)
           
 void completeComponent(IElementHelper anElementHelper, IComponent aComponent, IConstraintViolations aViolations)
           
protected  void doCollectRefsForCompletion(IElementHelper anElementHelper, IJobRefs aJobRefs)
           
 IElement doCreateChild(CreationParams aCreationParams)
          Hook method to create a child element.
 ISelector getSelector()
           
 ISymbolspace getSymbolSpace()
           
 java.util.Iterator iterFields()
           
 void validateElement(IElemValHelper aHelper, IConstraintViolations aViolations)
           
 
Methods inherited from class org.jbind.xml.schema.element.Named
createAndAddJob, doCreateAttribute, 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.INamed
getGlobalRef, getName
 
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
 
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
createComponent, isTopLevelComponent
 
Methods inherited from interface org.jbind.xml.schema.instantiation.ITopLevelJobHelper
createAndAddJob
 

Constructor Detail

IdentityConstraintElement

public IdentityConstraintElement(CreationParams aCPs,
                                 boolean aRestrictedForm)
Method Detail

doCreateChild

public IElement doCreateChild(CreationParams aCreationParams)
                       throws XmlException
Description copied from class: Element
Hook method to create a child element.

Overrides:
doCreateChild in class Annotated
Throws:
XmlException

getSelector

public ISelector getSelector()
Specified by:
getSelector in interface IIdentityConstraintElement

iterFields

public java.util.Iterator iterFields()
Specified by:
iterFields in interface IIdentityConstraintElement

getSymbolSpace

public ISymbolspace getSymbolSpace()
Specified by:
getSymbolSpace in interface INamed

validateElement

public void validateElement(IElemValHelper aHelper,
                            IConstraintViolations aViolations)
Specified by:
validateElement in interface IElement
Overrides:
validateElement in class Named

collectRefsForCreation

public final void collectRefsForCreation(IJobRefs aJobRefs)
Specified by:
collectRefsForCreation in interface IComponentJobHelper

collectRefsForCompletion

public final void collectRefsForCompletion(IElementHelper anElementHelper,
                                           IJobRefs aJobRefs)
Specified by:
collectRefsForCompletion in interface IComponentJobHelper

collectRefsForValidation

public final void collectRefsForValidation(IElementHelper anElementHelper,
                                           IJobRefs aJobRefs)
Specified by:
collectRefsForValidation in interface IComponentJobHelper

doCollectRefsForCompletion

protected void doCollectRefsForCompletion(IElementHelper anElementHelper,
                                          IJobRefs aJobRefs)

completeComponent

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

addSchemaData

public void addSchemaData(IComponentStore aComponentStore,
                          IComponent aComponent,
                          IConstraintViolations aViolations)
Description copied from interface: ISchemaDataAdder
Adds data from the schema to the specified component. Schema data are default and fixed values as well as facets.

Specified by:
addSchemaData in interface ISchemaDataAdder