1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
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.SecurityWrapper;
12
13
14 /**
15 * Operational history for a service
16 *
17 * <p>Java class for GetOperationalStatusLogResponseMsg complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="GetOperationalStatusLogResponseMsg">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
27 * <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
28 * <element name="OperationalRecord" type="{urn:org:miloss:fgsms:services:interfaces:dataAccessService}OperationalRecord" maxOccurs="unbounded"/>
29 * </sequence>
30 * </restriction>
31 * </complexContent>
32 * </complexType>
33 * </pre>
34 *
35 *
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "GetOperationalStatusLogResponseMsg", propOrder = {
39 "classification",
40 "url",
41 "operationalRecord"
42 })
43 public class GetOperationalStatusLogResponseMsg
44 implements Serializable
45 {
46
47 private final static long serialVersionUID = 1L;
48 @XmlElement(required = true, nillable = true)
49 protected SecurityWrapper classification;
50 @XmlElement(name = "URL", required = true)
51 protected String url;
52 @XmlElement(name = "OperationalRecord", required = false, nillable = true)
53 protected List<OperationalRecord> operationalRecord;
54
55 /**
56 * Gets the value of the classification property.
57 *
58 * @return
59 * possible object is
60 * {@link SecurityWrapper }
61 *
62 */
63 public SecurityWrapper getClassification() {
64 return classification;
65 }
66
67 /**
68 * Sets the value of the classification property.
69 *
70 * @param value
71 * allowed object is
72 * {@link SecurityWrapper }
73 *
74 */
75 public void setClassification(SecurityWrapper value) {
76 this.classification = value;
77 }
78
79 public boolean isSetClassification() {
80 return (this.classification!= null);
81 }
82
83 /**
84 * Gets the value of the url property.
85 *
86 * @return
87 * possible object is
88 * {@link String }
89 *
90 */
91 public String getURL() {
92 return url;
93 }
94
95 /**
96 * Sets the value of the url property.
97 *
98 * @param value
99 * allowed object is
100 * {@link String }
101 *
102 */
103 public void setURL(String value) {
104 this.url = value;
105 }
106
107 public boolean isSetURL() {
108 return (this.url!= null);
109 }
110
111 /**
112 * Gets the value of the operationalRecord property.
113 *
114 * <p>
115 * This accessor method returns a reference to the live list,
116 * not a snapshot. Therefore any modification you make to the
117 * returned list will be present inside the JAXB object.
118 * This is why there is not a <CODE>set</CODE> method for the operationalRecord property.
119 *
120 * <p>
121 * For example, to add a new item, do as follows:
122 * <pre>
123 * getOperationalRecord().add(newItem);
124 * </pre>
125 *
126 *
127 * <p>
128 * Objects of the following type(s) are allowed in the list
129 * {@link OperationalRecord }
130 *
131 *
132 */
133 public List<OperationalRecord> getOperationalRecord() {
134 if (operationalRecord == null) {
135 operationalRecord = new ArrayList<OperationalRecord>();
136 }
137 return this.operationalRecord;
138 }
139
140 public boolean isSetOperationalRecord() {
141 return ((this.operationalRecord!= null)&&(!this.operationalRecord.isEmpty()));
142 }
143
144 public void unsetOperationalRecord() {
145 this.operationalRecord = null;
146 }
147
148 }