org.jbind.xml.schema.element
Interface IDerivation

All Superinterfaces:
IAnnotated, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISourceInfo, IXmlElement, IXmlNode
All Known Subinterfaces:
IComplexDerivation, IComplexExtensionDerivation, IComplexRestrictionDerivation, ISimpleDerivation, ISimpleExtensionDerivation, ISimpleRestrictionDerivation
All Known Implementing Classes:
ComplexDerivation, ComplexExtensionDerivation, ComplexRestrictionDerivation, Derivation, SimpleDerivation, SimpleExtensionDerivation, SimpleRestrictionDerivation

public interface IDerivation
extends IAnnotated


Method Summary
 void collectRefsForCreation(IJobRefs aJobRefs)
           
 IAttributeInfos getAttributeInfos()
          Gets the attribute infos enclosed in the derivation.
 IRef getBaseAttribute()
          Gets the base attribute.
 IRef getEffectiveBaseAttribute()
          Gets the effective base attribute.
 IRef getInlinedBaseAttribute()
          Gets the inlined base attribute.
 boolean getIsExtension()
           
 IModelGroup getModelGroup()
          Gets the model group.
 IModelGroupRef getModelGroupRef()
           
 ISimpleTypeDef getSimpleTypeDef()
          Gets the simple type definition.
 void setBaseAttribute(IRef aRef)
           
 
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
 

Method Detail

getBaseAttribute

public IRef getBaseAttribute()
Gets the base attribute.

Returns:
(optional). There may be an inlined type in a restriction derivation. In this case the base attribute may be null.

setBaseAttribute

public void setBaseAttribute(IRef aRef)

getInlinedBaseAttribute

public IRef getInlinedBaseAttribute()
Gets the inlined base attribute. In case of simple type restrictions (either as a simple type derivation or as a complex type derivation with simple content) there may be an inlined simple type. The type referenced by the inlined base attribute must be a subtype of the type referenced by the base attribute.

Returns:
(optional).

getEffectiveBaseAttribute

public IRef getEffectiveBaseAttribute()
Gets the effective base attribute. If there is a base attribute and an inlined base attribute then the inlined base attribute is returned.

Returns:
(required).

getIsExtension

public boolean getIsExtension()

getAttributeInfos

public IAttributeInfos getAttributeInfos()
Gets the attribute infos enclosed in the derivation. If it is an abbreviated derivation then null is returned.

Returns:
Attribute infos. (optional)

getModelGroup

public IModelGroup getModelGroup()
Gets the model group.

Returns:
Returns the model group iff this is a complex content model or null otherwise. (optional)

getModelGroupRef

public IModelGroupRef getModelGroupRef()

getSimpleTypeDef

public ISimpleTypeDef getSimpleTypeDef()
Gets the simple type definition.

Returns:
(optional). Returns the inlined simple type definition of a restriction.

collectRefsForCreation

public void collectRefsForCreation(IJobRefs aJobRefs)