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 * response message
16 *
17 * <p>Java class for GetBrokerListResponseMsg complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="GetBrokerListResponseMsg">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="brokerList" type="{urn:org:miloss:fgsms:services:interfaces:dataAccessService}brokerDetails" maxOccurs="unbounded" minOccurs="0"/>
27 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
28 * </sequence>
29 * </restriction>
30 * </complexContent>
31 * </complexType>
32 * </pre>
33 *
34 *
35 */
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "GetBrokerListResponseMsg", propOrder = {
38 "brokerList",
39 "classification"
40 })
41 public class GetBrokerListResponseMsg
42 implements Serializable
43 {
44
45 private final static long serialVersionUID = 1L;
46 protected List<BrokerDetails> brokerList;
47 @XmlElement(required = true, nillable = true)
48 protected SecurityWrapper classification;
49
50 /**
51 * Gets the value of the brokerList property.
52 *
53 * <p>
54 * This accessor method returns a reference to the live list,
55 * not a snapshot. Therefore any modification you make to the
56 * returned list will be present inside the JAXB object.
57 * This is why there is not a <CODE>set</CODE> method for the brokerList property.
58 *
59 * <p>
60 * For example, to add a new item, do as follows:
61 * <pre>
62 * getBrokerList().add(newItem);
63 * </pre>
64 *
65 *
66 * <p>
67 * Objects of the following type(s) are allowed in the list
68 * {@link BrokerDetails }
69 *
70 *
71 */
72 public List<BrokerDetails> getBrokerList() {
73 if (brokerList == null) {
74 brokerList = new ArrayList<BrokerDetails>();
75 }
76 return this.brokerList;
77 }
78
79 public boolean isSetBrokerList() {
80 return ((this.brokerList!= null)&&(!this.brokerList.isEmpty()));
81 }
82
83 public void unsetBrokerList() {
84 this.brokerList = null;
85 }
86
87 /**
88 * Gets the value of the classification property.
89 *
90 * @return
91 * possible object is
92 * {@link SecurityWrapper }
93 *
94 */
95 public SecurityWrapper getClassification() {
96 return classification;
97 }
98
99 /**
100 * Sets the value of the classification property.
101 *
102 * @param value
103 * allowed object is
104 * {@link SecurityWrapper }
105 *
106 */
107 public void setClassification(SecurityWrapper value) {
108 this.classification = value;
109 }
110
111 public boolean isSetClassification() {
112 return (this.classification!= null);
113 }
114
115 }