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

Package class diagram package TopListActionEvent
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.TopListActionEvent
All Implemented Interfaces:
ActionEvent, EventData, Event, ModelObject, PersistedModelObject, Serializable

@Entity
public class TopListActionEvent
extends AbstractActionEvent

The Class TopListActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
TopListActionEvent()
          Instantiates a new top list action event.
TopListActionEvent(Date createdDate, TopListOperationType operation)
          Instantiates a new top list action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 ParliamentOperationType getCitizenOperation()
          Gets the citizen operation.
 TopListOperationType getOperation()
          Gets the operation.
 void setCitizenOperation(ParliamentOperationType citizenOperation)
          Sets the citizen operation.
 void setOperation(TopListOperationType 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

TopListActionEvent

public TopListActionEvent()
Instantiates a new top list action event.


TopListActionEvent

public TopListActionEvent(Date createdDate,
                          TopListOperationType operation)
Instantiates a new top list 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 TopListOperationType getOperation()
Gets the operation.

Returns:
the operation

setOperation

public void setOperation(TopListOperationType operation)
Sets the operation.

Parameters:
operation - the new operation

getCitizenOperation

public ParliamentOperationType getCitizenOperation()
Gets the citizen operation.

Returns:
the citizen operation

setCitizenOperation

public void setCitizenOperation(ParliamentOperationType citizenOperation)
Sets the citizen operation.

Parameters:
citizenOperation - the new citizen operation


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