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

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

@Entity
public class ParliamentMemberActionEvent
extends AbstractActionEvent

The Class ParliamentMemberActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
ParliamentMemberActionEvent()
          Instantiates a new parliament member action event.
ParliamentMemberActionEvent(Date createdDate, Long parliamentMemberId)
          Instantiates a new parliament member action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 ParliamentOperationType getCitizenOperation()
          Gets the citizen operation.
 Long getParliamentMemberId()
          Gets the parliament member id.
 void setCitizenOperation(ParliamentOperationType citizenOperation)
          Sets the citizen operation.
 void setParliamentMemberId(Long parliamentMemberId)
          Sets the parliament member id.
 
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

ParliamentMemberActionEvent

public ParliamentMemberActionEvent()
Instantiates a new parliament member action event.


ParliamentMemberActionEvent

public ParliamentMemberActionEvent(Date createdDate,
                                   Long parliamentMemberId)
Instantiates a new parliament member action event.

Parameters:
createdDate - the created date
parliamentMemberId - the parliament member 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

getParliamentMemberId

public Long getParliamentMemberId()
Gets the parliament member id.

Returns:
the parliament member id

setParliamentMemberId

public void setParliamentMemberId(Long parliamentMemberId)
Sets the parliament member id.

Parameters:
parliamentMemberId - the new parliament member 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.