1
2
3
4
5 package com.hack23.cia.web.action.admin;
6
7 import com.hack23.cia.model.application.impl.admin.LanguageContentActionEvent.Operation;
8 import com.hack23.cia.model.application.impl.common.Agency;
9 import com.hack23.cia.model.application.impl.common.LanguageContent;
10
11 /***
12 * The Class LanguageContentAction.
13 */
14 public class LanguageContentAction 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 content. */
23 private final LanguageContent languageContent;
24
25 /*** The operation. */
26 private final Operation operation;
27
28 /***
29 * Instantiates a new language content action.
30 *
31 * @param operation the operation
32 * @param agency the agency
33 * @param languageContent the language content
34 */
35 public LanguageContentAction(final Operation operation, final Agency agency,
36 final LanguageContent languageContent) {
37 this.operation = operation;
38 this.agency = agency;
39 this.languageContent = languageContent;
40 }
41
42 /***
43 * Gets the agency.
44 *
45 * @return the agency
46 */
47 public final Agency getAgency() {
48 return agency;
49 }
50
51 /***
52 * Gets the language content.
53 *
54 * @return the language content
55 */
56 public final LanguageContent getLanguageContent() {
57 return languageContent;
58 }
59
60 /***
61 * Gets the operation.
62 *
63 * @return the operation
64 */
65 public final Operation getOperation() {
66 return operation;
67 }
68
69 }