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

Package class diagram package UserActionEvent
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.application.events.user.AbstractActionEvent
          extended by com.hack23.cia.model.impl.application.events.user.UserActionEvent
All Implemented Interfaces:
ActionEvent, EventData, Event, ModelObject, PersistedModelObject, Serializable

@Entity
public class UserActionEvent
extends AbstractActionEvent

The Class UserActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
UserActionEvent()
          Instantiates a new user action event.
UserActionEvent(Date createdDate, UserOperationType operation)
          Instantiates a new user action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 UserOperationType getOperation()
          Gets the operation.
 void setOperation(UserOperationType operation)
          Sets the operation.
 
Methods inherited from class com.hack23.cia.model.impl.application.events.user.AbstractActionEvent
computeExutionTime, getApplicationTypeContext, getCreatedDate, getExecutionTime, getId, getVersion, setCreatedDate, setExecutionTime, setId, setVersion
 
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

UserActionEvent

public UserActionEvent()
Instantiates a new user action event.


UserActionEvent

public UserActionEvent(Date createdDate,
                       UserOperationType operation)
Instantiates a new user action event.

Parameters:
createdDate - the created date
operation - the operation
Method Detail

getActionEventType

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

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

getOperation

public UserOperationType getOperation()
Gets the operation.

Returns:
the operation

setOperation

public void setOperation(UserOperationType operation)
Sets the operation.

Parameters:
operation - the new operation


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