Interface SimulationElement<E>
-
- All Known Implementing Classes:
AbstractSimulationElement
,SimpleDocumentSimulationElement
,ThumbnailSimulationElement
public interface SimulationElement<E>
To be handled in a simulation action processing, an implementation of this interface must exist for a resource type. For example, implementationSimpleDocumentSimulationElement
handlesSimpleDocument
resources.- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
getElement()
Gets the typed elementboolean
isOld()
Indicates if the element is an old one.
-
-
-
Method Detail
-
isOld
boolean isOld()
Indicates if the element is an old one. This information is useful in update or delete action.- Returns:
- true if the element is an old one, false otherwise.
-
getElement
E getElement()
Gets the typed element- Returns:
- the typed element.
-
-