jasi.simple.model
Interface SimpleObject

All Superinterfaces:
java.lang.Comparable<Element>, Element, java.io.Serializable, SimObject
All Known Implementing Classes:
SimpleElement, SimpleElementHandler

public interface SimpleObject
extends Element

Object of the simple model.


Field Summary
 
Fields inherited from interface jasi.sim.basic.element.Element
COMPARATOR
 
Method Summary
 SimpleObject emptyContent()
          Empty the element's content.
 SimpleObject fillContent(java.lang.String content)
          Fill element with new content.
 java.lang.String readContent()
          Retrieve the content of this element.
 
Methods inherited from interface jasi.sim.basic.element.Element
delete, getKey, isDeleted, registered, setKey
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface jasi.sim.basic.id.SimObject
getId, setId
 

Method Detail

readContent

java.lang.String readContent()
Retrieve the content of this element.

Returns:
The content.

emptyContent

SimpleObject emptyContent()
Empty the element's content.

Returns:
This simple element with empty content.

fillContent

SimpleObject fillContent(java.lang.String content)
Fill element with new content.

Parameters:
content - The new content.
Returns:
This simple element with new content.