View Javadoc
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   *        creates a new administer issued tasks, leave ID blank, it will be created for you
18   *            
19   * 
20   * <p>Java class for CreateAgentActionRequestMsg complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="CreateAgentActionRequestMsg">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
29   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
30   *         &lt;element name="AgentAction" type="{urn:org:miloss:fgsms:services:interfaces:common}AgentAction" maxOccurs="unbounded"/>
31   *       &lt;/sequence>
32   *     &lt;/restriction>
33   *   &lt;/complexContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "CreateAgentActionRequestMsg", propOrder = {
41      "classification",
42      "agentAction"
43  })
44  public class CreateAgentActionRequestMsg
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       * Gets the value of the classification property.
56       * 
57       * @return
58       *     possible object is
59       *     {@link SecurityWrapper }
60       *     
61       */
62      public SecurityWrapper getClassification() {
63          return classification;
64      }
65  
66      /**
67       * Sets the value of the classification property.
68       * 
69       * @param value
70       *     allowed object is
71       *     {@link SecurityWrapper }
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       * Gets the value of the agentAction property.
84       * 
85       * <p>
86       * This accessor method returns a reference to the live list,
87       * not a snapshot. Therefore any modification you make to the
88       * returned list will be present inside the JAXB object.
89       * This is why there is not a <CODE>set</CODE> method for the agentAction property.
90       * 
91       * <p>
92       * For example, to add a new item, do as follows:
93       * <pre>
94       *    getAgentAction().add(newItem);
95       * </pre>
96       * 
97       * 
98       * <p>
99       * Objects of the following type(s) are allowed in the list
100      * {@link AgentAction }
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 }