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

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

@Entity
public class BallotActionEvent
extends AbstractActionEvent

The Class BallotActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
BallotActionEvent()
          Instantiates a new ballot action event.
BallotActionEvent(Date createdDate, Long ballotId)
          Instantiates a new ballot action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 Long getBallotId()
          Gets the ballot id.
 ParliamentOperationType getCitizenOperation()
          Gets the citizen operation.
 void setBallotId(Long ballotId)
          Sets the ballot id.
 void setCitizenOperation(ParliamentOperationType citizenOperation)
          Sets the citizen 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

BallotActionEvent

public BallotActionEvent()
Instantiates a new ballot action event.


BallotActionEvent

public BallotActionEvent(Date createdDate,
                         Long ballotId)
Instantiates a new ballot action event.

Parameters:
createdDate - the created date
ballotId - the ballot id
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

getBallotId

public Long getBallotId()
Gets the ballot id.

Returns:
the ballot id

setBallotId

public void setBallotId(Long ballotId)
Sets the ballot id.

Parameters:
ballotId - the new ballot id

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.