Class AbstractSchemaElementImpl<E>
- java.lang.Object
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
-
- All Implemented Interfaces:
Serializable,SchemaElement
- Direct Known Subclasses:
AbstractAllImpl,AbstractAttributeImpl,AbstractChoiceImpl,AbstractComplexContentImpl,AbstractElementImpl,AbstractEnumerationImpl,AbstractExtensionImpl,AbstractIncludeImpl,AbstractRestrictionImpl,AbstractSchemaImpl,AbstractSequenceImpl,AbstractSimpleContentImpl,AbstractTypeImpl,AbstractXMLElementImpl,Decorator,DocumentationImpl
public abstract class AbstractSchemaElementImpl<E> extends Object implements SchemaElement
- Author:
- Nicolas Salatge - EBM WebSourcing
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Documentationdocumentationprotected Emodelthe modelprotected AbstractSchemaElementImplparent
-
Constructor Summary
Constructors Constructor Description AbstractSchemaElementImpl()AbstractSchemaElementImpl(E model, AbstractSchemaElementImpl parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentationcreateDocumentation()Create the documentation element.booleanequals(Object o)DocumentationgetDocumentation()Get the documentation.EgetModel()Map<QName,String>getOtherAttributes()Get the map containing all the attributes defined on this element.AbstractSchemaElementImplgetParent()AbsItfSchemagetSchema()AbstractSchemaElementImplgetTopParent()inthashCode()voidsetDocumentation(Documentation doc)Set the documentation for this document.voidsetParent(AbstractSchemaElementImpl parent)
-
-
-
Field Detail
-
model
protected E model
the model
-
parent
protected AbstractSchemaElementImpl parent
-
documentation
protected Documentation documentation
-
-
Constructor Detail
-
AbstractSchemaElementImpl
public AbstractSchemaElementImpl()
-
AbstractSchemaElementImpl
public AbstractSchemaElementImpl(E model, AbstractSchemaElementImpl parent)
-
-
Method Detail
-
setDocumentation
public void setDocumentation(Documentation doc)
Set the documentation for this document.- Specified by:
setDocumentationin interfaceSchemaElement- Parameters:
doc- the documentation element
-
getDocumentation
public Documentation getDocumentation()
Get the documentation.- Specified by:
getDocumentationin interfaceSchemaElement- Returns:
- the documentation element
-
createDocumentation
public Documentation createDocumentation()
Create the documentation element.- Specified by:
createDocumentationin interfaceSchemaElement- Returns:
- the documentation element
-
getOtherAttributes
public Map<QName,String> getOtherAttributes() throws XmlException
Get the map containing all the attributes defined on this element. The keys are the qnames of the attributes.- Specified by:
getOtherAttributesin interfaceSchemaElement- Returns:
- a map containing all the attributes defined on this element
- Throws:
XmlException
-
getModel
public E getModel()
-
getParent
public AbstractSchemaElementImpl getParent()
-
getTopParent
public AbstractSchemaElementImpl getTopParent()
-
getSchema
public AbsItfSchema getSchema()
-
setParent
public void setParent(AbstractSchemaElementImpl parent)
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceSchemaElement- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceSchemaElement- Overrides:
hashCodein classObject
-
-