1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
3
4 import java.io.Serializable;
5 import java.util.ArrayList;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlType;
11 import org.miloss.fgsms.services.interfaces.common.AgentAction;
12 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "CreateAgentActionResponseMsg", propOrder = {
41 "classification",
42 "agentAction"
43 })
44 public class CreateAgentActionResponseMsg
45 implements Serializable
46 {
47
48 private final static long serialVersionUID = 1L;
49 @XmlElement(required = true, nillable = true)
50 protected SecurityWrapper classification;
51 @XmlElement(name = "AgentAction", required = true)
52 protected List<AgentAction> agentAction;
53
54
55
56
57
58
59
60
61
62 public SecurityWrapper getClassification() {
63 return classification;
64 }
65
66
67
68
69
70
71
72
73
74 public void setClassification(SecurityWrapper value) {
75 this.classification = value;
76 }
77
78 public boolean isSetClassification() {
79 return (this.classification!= null);
80 }
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104 public List<AgentAction> getAgentAction() {
105 if (agentAction == null) {
106 agentAction = new ArrayList<AgentAction>();
107 }
108 return this.agentAction;
109 }
110
111 public boolean isSetAgentAction() {
112 return ((this.agentAction!= null)&&(!this.agentAction.isEmpty()));
113 }
114
115 public void unsetAgentAction() {
116 this.agentAction = null;
117 }
118
119 }