1
2
3
4
5 package com.hack23.cia.web.action.admin;
6
7 import com.hack23.cia.model.application.impl.admin.LanguageAgencyActionEvent.Operation;
8 import com.hack23.cia.model.application.impl.common.Agency;
9 import com.hack23.cia.model.application.impl.common.Language;
10
11 /***
12 * The Class LanguageAgencyAction.
13 */
14 public class LanguageAgencyAction extends AbstractConfigurationAction {
15
16 /*** The Constant serialVersionUID. */
17 private static final long serialVersionUID = 967092220196995079L;
18
19 /*** The agency. */
20 private final Agency agency;
21
22 /*** The language. */
23 private final Language language;
24
25 /*** The operation. */
26 private final Operation operation;
27
28 /***
29 * Instantiates a new language agency action.
30 *
31 * @param operation the operation
32 * @param agency the agency
33 * @param lang the lang
34 */
35 public LanguageAgencyAction(final Operation operation, final Agency agency,
36 final Language lang) {
37 super();
38 this.operation = operation;
39 this.agency = agency;
40 language = lang;
41 }
42
43 /***
44 * Gets the agency.
45 *
46 * @return the agency
47 */
48 public final Agency getAgency() {
49 return agency;
50 }
51
52 /***
53 * Gets the language.
54 *
55 * @return the language
56 */
57 public final Language getLanguage() {
58 return language;
59 }
60
61 /***
62 * Gets the operation.
63 *
64 * @return the operation
65 */
66 public final Operation getOperation() {
67 return operation;
68 }
69
70 }