com.hack23.cia.model.impl.application.events.user
Class AbstractActionEvent

Package class diagram package AbstractActionEvent
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.application.events.user.AbstractActionEvent
All Implemented Interfaces:
ActionEvent, EventData, Event, ModelObject, PersistedModelObject, Serializable
Direct Known Subclasses:
AgencyActionEvent, AgentDeploymentActionEvent, AgentOperationActionEvent, ApplicationActionEvent, ApplicationErrorActionEvent, BallotActionEvent, CommitteeReportActionEvent, CommitteeReportsActionEvent, ExternalUrlActionEvent, LanguageAgencyActionEvent, LanguageContentActionEvent, MonitorActionEvent, ParliamentMemberActionEvent, PartyActionEvent, PortalActionEvent, SearchActionEvent, TopListActionEvent, UserAccountActionEvent, UserActionEvent

@Entity
public abstract class AbstractActionEvent
extends BaseEntity
implements EventData

The Class AbstractActionEvent.

See Also:
Serialized Form

Constructor Summary
Modifier Constructor and Description
protected AbstractActionEvent()
          Instantiates a new abstract action event.
protected AbstractActionEvent(Date createdDate)
          Instantiates a new abstract action event.
 
Method Summary
Modifier and Type Method and Description
 void computeExutionTime()
          Compute exution time.
abstract  ActionEventType getActionEventType()
          Gets the action event type.
protected  TypeContext getApplicationTypeContext()
          Gets the application type context.
 Date getCreatedDate()
          Gets the created date.
 Long getExecutionTime()
          Gets the execution time.
 Long getId()
          Gets the id.
 Long getVersion()
          Gets the version.
 void setCreatedDate(Date createdDate)
          Sets the created date.
 void setExecutionTime(Long executionTime)
          Sets the execution time.
 void setId(Long id)
          Sets the id.
 void setVersion(Long version)
          Sets the version.
 
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity
equals, getTypeContext, hashCode, isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getTypeContext, isNew
 

Constructor Detail

AbstractActionEvent

protected AbstractActionEvent()
Instantiates a new abstract action event.


AbstractActionEvent

protected AbstractActionEvent(Date createdDate)
Instantiates a new abstract action event.

Parameters:
createdDate - the created date
Method Detail

computeExutionTime

public void computeExutionTime()
Description copied from interface: ActionEvent
Compute exution time.

Specified by:
computeExutionTime in interface ActionEvent

getActionEventType

public abstract ActionEventType getActionEventType()
Description copied from interface: ActionEvent
Gets the action event type.

Specified by:
getActionEventType in interface ActionEvent
Returns:
the action event type

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getCreatedDate

public Date getCreatedDate()
Description copied from interface: ActionEvent
Gets the created date.

Specified by:
getCreatedDate in interface ActionEvent
Returns:
the created date

getExecutionTime

public Long getExecutionTime()
Description copied from interface: ActionEvent
Gets the execution time.

Specified by:
getExecutionTime in interface ActionEvent
Returns:
the execution time

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setCreatedDate

public void setCreatedDate(Date createdDate)
Description copied from interface: ActionEvent
Sets the created date.

Specified by:
setCreatedDate in interface ActionEvent
Parameters:
createdDate - the new created date

setExecutionTime

public void setExecutionTime(Long executionTime)
Description copied from interface: ActionEvent
Sets the execution time.

Specified by:
setExecutionTime in interface ActionEvent
Parameters:
executionTime - the new execution time

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setVersion

public void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.