org.silverpeas.process.annotation
Class AbstractSimulationElement<E>

java.lang.Object
  extended by org.silverpeas.process.annotation.AbstractSimulationElement<E>
All Implemented Interfaces:
SimulationElement<E>
Direct Known Subclasses:
SimpleDocumentSimulationElement, ThumbnailSimulationElement

public abstract class AbstractSimulationElement<E>
extends Object
implements SimulationElement<E>

User: Yohann Chastagnier Date: 28/10/13


Constructor Summary
AbstractSimulationElement(E element)
          Default constructor.
 
Method Summary
 E getElement()
          Gets the typed element
 boolean isOld()
          Indicates if the element is an old one.
 AbstractSimulationElement<E> setOld()
          Indicates the element as an old one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimulationElement

public AbstractSimulationElement(E element)
Default constructor.

Parameters:
element -
Method Detail

setOld

public AbstractSimulationElement<E> setOld()
Indicates the element as an old one

Returns:

isOld

public boolean isOld()
Description copied from interface: SimulationElement
Indicates if the element is an old one. This information is useful in update or delete action.

Specified by:
isOld in interface SimulationElement<E>
Returns:

getElement

public E getElement()
Description copied from interface: SimulationElement
Gets the typed element

Specified by:
getElement in interface SimulationElement<E>
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.