|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.application.impl.common.AbstractActionEvent
@Entity public abstract class AbstractActionEvent
The Class AbstractActionEvent.
Constructor Summary | |
---|---|
AbstractActionEvent(ActionEventType actionEventType)
Instantiates a new abstract action event. |
|
AbstractActionEvent(Date createdDate,
UserSession userSession)
Instantiates a new abstract action event. |
Method Summary | |
---|---|
void |
computeExutionTime()
Compute exution time. |
ActionEventType |
getActionEventType()
Gets the action event type. |
Date |
getCreatedDate()
Gets the created date. |
Long |
getExecutionTime()
Gets the execution time. |
Long |
getId()
Gets the id. |
UserSession |
getUserSession()
Gets the user session. |
Long |
getVersion()
Gets the version. |
void |
setActionEventType(ActionEventType actionEventType)
Sets the action event type. |
void |
setCreatedDate(Date createdDate)
Sets the created date. |
void |
setExecutionTime(Long executionTime)
Sets the execution time. |
void |
setId(Long id)
Sets the id. |
void |
setUserSession(UserSession userSession)
Sets the user session. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, 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.common.api.PersistedModelObject |
---|
isNew |
Constructor Detail |
---|
public AbstractActionEvent(ActionEventType actionEventType)
actionEventType
- the action event typepublic AbstractActionEvent(Date createdDate, UserSession userSession)
createdDate
- the created dateuserSession
- the user sessionMethod Detail |
---|
public void computeExutionTime()
ActionEvent
computeExutionTime
in interface ActionEvent
public ActionEventType getActionEventType()
ActionEvent
getActionEventType
in interface ActionEvent
public Date getCreatedDate()
ActionEvent
getCreatedDate
in interface ActionEvent
public Long getExecutionTime()
ActionEvent
getExecutionTime
in interface ActionEvent
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public UserSession getUserSession()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setActionEventType(ActionEventType actionEventType)
ActionEvent
setActionEventType
in interface ActionEvent
actionEventType
- the new action event typepublic void setCreatedDate(Date createdDate)
ActionEvent
setCreatedDate
in interface ActionEvent
createdDate
- the new created datepublic void setExecutionTime(Long executionTime)
ActionEvent
setExecutionTime
in interface ActionEvent
executionTime
- the new execution timepublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setUserSession(UserSession userSession)
userSession
- the new user sessionpublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |