com.ebmwebsourcing.commons.schema.api.abstractElmt
Class AbstractSchemaElement<E>

java.lang.Object
  extended by com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement<E>
All Implemented Interfaces:
SchemaElement, java.io.Serializable
Direct Known Subclasses:
AbstractAttribute, AbstractElement, AbstractInclude, AbstractSchema, AbstractType, Documentation

public abstract class AbstractSchemaElement<E>
extends java.lang.Object
implements SchemaElement

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
protected  Documentation documentation
           
protected  E model
          the model
 
Constructor Summary
AbstractSchemaElement()
           
 
Method Summary
 Documentation createDocumentation()
          Create the documentation element.
 Documentation getDocumentation()
          Get the documentation.
 E getModel()
           
 void setDocumentation(Documentation doc)
          Set the documentation for this document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected E model
the model


documentation

protected Documentation documentation
Constructor Detail

AbstractSchemaElement

public AbstractSchemaElement()
Method Detail

setDocumentation

public void setDocumentation(Documentation doc)
Set the documentation for this document.

Specified by:
setDocumentation in interface SchemaElement
Parameters:
docEl - the documentation element

getDocumentation

public Documentation getDocumentation()
Get the documentation.

Specified by:
getDocumentation in interface SchemaElement
Returns:
the documentation element

createDocumentation

public Documentation createDocumentation()
Create the documentation element.

Specified by:
createDocumentation in interface SchemaElement
Returns:
the documentation element

getModel

public E getModel()


Copyright © 2008 eBM WebSourcing. All Rights Reserved.