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

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

@Entity
public class BallotActionEvent
extends AbstractParliamentActionEvent

The Class BallotActionEvent.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hack23.cia.model.application.impl.user.AbstractParliamentActionEvent
AbstractParliamentActionEvent.Operation
 
Constructor Summary
BallotActionEvent()
          Instantiates a new ballot action event.
BallotActionEvent(Date createdDate, UserSession userSession, Long ballotId)
          Instantiates a new ballot action event.
 
Method Summary
 Long getBallotId()
          Gets the ballot id.
 void setBallotId(Long ballotId)
          Sets the ballot id.
 
Methods inherited from class com.hack23.cia.model.application.impl.user.AbstractParliamentActionEvent
getCitizenOperation, setCitizenOperation
 
Methods inherited from class com.hack23.cia.model.application.impl.common.AbstractActionEvent
computeExutionTime, getActionEventType, getCreatedDate, getExecutionTime, getId, getUserSession, getVersion, setActionEventType, setCreatedDate, setExecutionTime, setId, setUserSession, setVersion
 
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

BallotActionEvent

public BallotActionEvent()
Instantiates a new ballot action event.


BallotActionEvent

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

Parameters:
createdDate - the created date
userSession - the user session
ballotId - the ballot id
Method Detail

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


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