View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.common;
3   
4   import javax.xml.bind.annotation.XmlAccessType;
5   import javax.xml.bind.annotation.XmlAccessorType;
6   import javax.xml.bind.annotation.XmlElement;
7   import javax.xml.bind.annotation.XmlSchemaType;
8   import javax.xml.bind.annotation.XmlType;
9   import java.util.Calendar;
10  
11  
12  /**
13   * <p>Java class for AgentAction complex type.
14   * 
15   * <p>The following schema fragment specifies the expected content contained within this class.
16   * 
17   * <pre>
18   * &lt;complexType name="AgentAction">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}string"/>
23   *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
25   *         &lt;element name="createdby" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="updated" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
27   *         &lt;element name="working_dir" type="{http://www.w3.org/2001/XMLSchema}string"/>
28   *         &lt;element name="command" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="output" type="{http://www.w3.org/2001/XMLSchema}string"/>
30   *         &lt;element name="executiontime" type="{http://www.w3.org/2001/XMLSchema}long"/>
31   *         &lt;element name="status" type="{urn:org:miloss:fgsms:services:interfaces:common}AgentActionStatus"/>
32   *       &lt;/sequence>
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "AgentAction", propOrder = {
42      "uri",
43      "id",
44      "created",
45      "createdby",
46      "updated",
47      "workingDir",
48      "command",
49      "output",
50      "executiontime",
51      "status"
52  })
53  public class AgentAction {
54  
55      @XmlElement(required = true)
56      protected String uri;
57      @XmlElement(required = true, nillable = true)
58      protected String id;
59      @XmlElement(required = true, nillable = true)
60      @XmlSchemaType(name = "dateTime")
61      protected Calendar created;
62      @XmlElement(required = true, nillable = true)
63      protected String createdby;
64      @XmlElement(required = true, nillable = true)
65      @XmlSchemaType(name = "dateTime")
66      protected Calendar updated;
67      @XmlElement(name = "working_dir", required = true, nillable = true)
68      protected String workingDir;
69      @XmlElement(required = true)
70      protected String command;
71      @XmlElement(required = true, nillable = true)
72      protected String output;
73      @XmlElement(required = true, type = Long.class, nillable = true)
74      protected Long executiontime;
75      @XmlElement(required = true, nillable = true)
76      protected AgentActionStatus status;
77  
78      /**
79       * Gets the value of the uri property.
80       * 
81       * @return
82       *     possible object is
83       *     {@link String }
84       *     
85       */
86      public String getUri() {
87          return uri;
88      }
89  
90      /**
91       * Sets the value of the uri property.
92       * 
93       * @param value
94       *     allowed object is
95       *     {@link String }
96       *     
97       */
98      public void setUri(String value) {
99          this.uri = value;
100     }
101 
102     /**
103      * Gets the value of the id property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     public String getId() {
111         return id;
112     }
113 
114     /**
115      * Sets the value of the id property.
116      * 
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *     
121      */
122     public void setId(String value) {
123         this.id = value;
124     }
125 
126     /**
127      * Gets the value of the created property.
128      * 
129      * @return
130      *     possible object is
131      *     {@link Calendar }
132      *     
133      */
134     public Calendar getCreated() {
135         return created;
136     }
137 
138     /**
139      * Sets the value of the created property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link Calendar }
144      *     
145      */
146     public void setCreated(Calendar value) {
147         this.created = value;
148     }
149 
150     /**
151      * Gets the value of the createdby property.
152      * 
153      * @return
154      *     possible object is
155      *     {@link String }
156      *     
157      */
158     public String getCreatedby() {
159         return createdby;
160     }
161 
162     /**
163      * Sets the value of the createdby property.
164      * 
165      * @param value
166      *     allowed object is
167      *     {@link String }
168      *     
169      */
170     public void setCreatedby(String value) {
171         this.createdby = value;
172     }
173 
174     /**
175      * Gets the value of the updated property.
176      * 
177      * @return
178      *     possible object is
179      *     {@link Calendar }
180      *     
181      */
182     public Calendar getUpdated() {
183         return updated;
184     }
185 
186     /**
187      * Sets the value of the updated property.
188      * 
189      * @param value
190      *     allowed object is
191      *     {@link Calendar }
192      *     
193      */
194     public void setUpdated(Calendar value) {
195         this.updated = value;
196     }
197 
198     /**
199      * Gets the value of the workingDir property.
200      * 
201      * @return
202      *     possible object is
203      *     {@link String }
204      *     
205      */
206     public String getWorkingDir() {
207         return workingDir;
208     }
209 
210     /**
211      * Sets the value of the workingDir property.
212      * 
213      * @param value
214      *     allowed object is
215      *     {@link String }
216      *     
217      */
218     public void setWorkingDir(String value) {
219         this.workingDir = value;
220     }
221 
222     /**
223      * Gets the value of the command property.
224      * 
225      * @return
226      *     possible object is
227      *     {@link String }
228      *     
229      */
230     public String getCommand() {
231         return command;
232     }
233 
234     /**
235      * Sets the value of the command property.
236      * 
237      * @param value
238      *     allowed object is
239      *     {@link String }
240      *     
241      */
242     public void setCommand(String value) {
243         this.command = value;
244     }
245 
246     /**
247      * Gets the value of the output property.
248      * 
249      * @return
250      *     possible object is
251      *     {@link String }
252      *     
253      */
254     public String getOutput() {
255         return output;
256     }
257 
258     /**
259      * Sets the value of the output property.
260      * 
261      * @param value
262      *     allowed object is
263      *     {@link String }
264      *     
265      */
266     public void setOutput(String value) {
267         this.output = value;
268     }
269 
270     /**
271      * Gets the value of the executiontime property.
272      * 
273      * @return
274      *     possible object is
275      *     {@link Long }
276      *     
277      */
278     public Long getExecutiontime() {
279         return executiontime;
280     }
281 
282     /**
283      * Sets the value of the executiontime property.
284      * 
285      * @param value
286      *     allowed object is
287      *     {@link Long }
288      *     
289      */
290     public void setExecutiontime(Long value) {
291         this.executiontime = value;
292     }
293 
294     /**
295      * Gets the value of the status property.
296      * 
297      * @return
298      *     possible object is
299      *     {@link AgentActionStatus }
300      *     
301      */
302     public AgentActionStatus getStatus() {
303         return status;
304     }
305 
306     /**
307      * Sets the value of the status property.
308      * 
309      * @param value
310      *     allowed object is
311      *     {@link AgentActionStatus }
312      *     
313      */
314     public void setStatus(AgentActionStatus value) {
315         this.status = value;
316     }
317 
318 }