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

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

@Entity
public class PartyActionEvent
extends AbstractActionEvent

The Class PartyActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
PartyActionEvent()
          Instantiates a new party action event.
PartyActionEvent(Date createdDate, String party, TopListOperationType operation)
          Instantiates a new party 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.
 String getParty()
          Gets the party.
 void setCitizenOperation(ParliamentOperationType citizenOperation)
          Sets the citizen operation.
 void setOperation(TopListOperationType operation)
          Sets the operation.
 void setParty(String party)
          Sets the party.
 
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

PartyActionEvent

public PartyActionEvent()
Instantiates a new party action event.


PartyActionEvent

public PartyActionEvent(Date createdDate,
                        String party,
                        TopListOperationType operation)
Instantiates a new party action event.

Parameters:
createdDate - the created date
party - the party
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

getParty

public String getParty()
Gets the party.

Returns:
the party

setParty

public void setParty(String party)
Sets the party.

Parameters:
party - the new party

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.