com.hack23.cia.model.impl.application.events.admin
Class LanguageAgencyActionEvent

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

@Entity
public class LanguageAgencyActionEvent
extends AbstractActionEvent

The Class LanguageAgencyActionEvent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
LanguageAgencyActionEvent()
          Instantiates a new language agency action event.
LanguageAgencyActionEvent(Date createdDate, Long agencyId)
          Instantiates a new language agency action event.
LanguageAgencyActionEvent(Date createdDate, Long agencyId, Long languageId, LanguageOperationType operation)
          Instantiates a new language agency action event.
 
Method Summary
Modifier and Type Method and Description
 ActionEventType getActionEventType()
          Gets the action event type.
 Long getAgencyId()
          Gets the agency id.
 Long getLanguageId()
          Gets the language id.
 LanguageOperationType getOperation()
          Gets the operation.
 void setAgencyId(Long agencyId)
          Sets the agency id.
 void setLanguageId(Long languageId)
          Sets the language id.
 void setOperation(LanguageOperationType 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

LanguageAgencyActionEvent

public LanguageAgencyActionEvent()
Instantiates a new language agency action event.


LanguageAgencyActionEvent

public LanguageAgencyActionEvent(Date createdDate,
                                 Long agencyId)
Instantiates a new language agency action event.

Parameters:
createdDate - the created date
agencyId - the agency id

LanguageAgencyActionEvent

public LanguageAgencyActionEvent(Date createdDate,
                                 Long agencyId,
                                 Long languageId,
                                 LanguageOperationType operation)
Instantiates a new language agency action event.

Parameters:
createdDate - the created date
agencyId - the agency id
languageId - the language id
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

getLanguageId

public Long getLanguageId()
Gets the language id.

Returns:
the language id

getOperation

public LanguageOperationType getOperation()
Gets the operation.

Returns:
the operation

setLanguageId

public void setLanguageId(Long languageId)
Sets the language id.

Parameters:
languageId - the new language id

setOperation

public void setOperation(LanguageOperationType operation)
Sets the operation.

Parameters:
operation - the new operation

getAgencyId

public Long getAgencyId()
Gets the agency id.

Returns:
the agency id

setAgencyId

public void setAgencyId(Long agencyId)
Sets the agency id.

Parameters:
agencyId - the new agency id


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