|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| package org.globus.cas.types; |
|
9 |
| |
|
10 |
| public class ObjectData extends org.globus.cas.types.CasObjectData implements java.io.Serializable { |
|
11 |
| private java.lang.String objectId; |
|
12 |
| private org.globus.cas.types.ArrayOfString groupNames; |
|
13 |
| private java.lang.String objectNamespace; |
|
14 |
| private java.lang.String objectName; |
|
15 |
| |
|
16 |
0
| public ObjectData() {
|
|
17 |
| } |
|
18 |
| |
|
19 |
0
| public ObjectData(
|
|
20 |
| org.globus.cas.types.ArrayOfString groupNames, |
|
21 |
| java.lang.String objectId, |
|
22 |
| java.lang.String objectName, |
|
23 |
| java.lang.String objectNamespace) { |
|
24 |
0
| this.objectId = objectId;
|
|
25 |
0
| this.groupNames = groupNames;
|
|
26 |
0
| this.objectNamespace = objectNamespace;
|
|
27 |
0
| this.objectName = objectName;
|
|
28 |
| } |
|
29 |
| |
|
30 |
| |
|
31 |
| |
|
32 |
| |
|
33 |
| |
|
34 |
| |
|
35 |
| |
|
36 |
0
| public java.lang.String getObjectId() {
|
|
37 |
0
| return objectId;
|
|
38 |
| } |
|
39 |
| |
|
40 |
| |
|
41 |
| |
|
42 |
| |
|
43 |
| |
|
44 |
| |
|
45 |
| |
|
46 |
0
| public void setObjectId(java.lang.String objectId) {
|
|
47 |
0
| this.objectId = objectId;
|
|
48 |
| } |
|
49 |
| |
|
50 |
| |
|
51 |
| |
|
52 |
| |
|
53 |
| |
|
54 |
| |
|
55 |
| |
|
56 |
0
| public org.globus.cas.types.ArrayOfString getGroupNames() {
|
|
57 |
0
| return groupNames;
|
|
58 |
| } |
|
59 |
| |
|
60 |
| |
|
61 |
| |
|
62 |
| |
|
63 |
| |
|
64 |
| |
|
65 |
| |
|
66 |
0
| public void setGroupNames(org.globus.cas.types.ArrayOfString groupNames) {
|
|
67 |
0
| this.groupNames = groupNames;
|
|
68 |
| } |
|
69 |
| |
|
70 |
| |
|
71 |
| |
|
72 |
| |
|
73 |
| |
|
74 |
| |
|
75 |
| |
|
76 |
0
| public java.lang.String getObjectNamespace() {
|
|
77 |
0
| return objectNamespace;
|
|
78 |
| } |
|
79 |
| |
|
80 |
| |
|
81 |
| |
|
82 |
| |
|
83 |
| |
|
84 |
| |
|
85 |
| |
|
86 |
0
| public void setObjectNamespace(java.lang.String objectNamespace) {
|
|
87 |
0
| this.objectNamespace = objectNamespace;
|
|
88 |
| } |
|
89 |
| |
|
90 |
| |
|
91 |
| |
|
92 |
| |
|
93 |
| |
|
94 |
| |
|
95 |
| |
|
96 |
0
| public java.lang.String getObjectName() {
|
|
97 |
0
| return objectName;
|
|
98 |
| } |
|
99 |
| |
|
100 |
| |
|
101 |
| |
|
102 |
| |
|
103 |
| |
|
104 |
| |
|
105 |
| |
|
106 |
0
| public void setObjectName(java.lang.String objectName) {
|
|
107 |
0
| this.objectName = objectName;
|
|
108 |
| } |
|
109 |
| |
|
110 |
| private java.lang.Object __equalsCalc = null; |
|
111 |
0
| public synchronized boolean equals(java.lang.Object obj) {
|
|
112 |
0
| if (!(obj instanceof ObjectData)) return false;
|
|
113 |
0
| ObjectData other = (ObjectData) obj;
|
|
114 |
0
| if (obj == null) return false;
|
|
115 |
0
| if (this == obj) return true;
|
|
116 |
0
| if (__equalsCalc != null) {
|
|
117 |
0
| return (__equalsCalc == obj);
|
|
118 |
| } |
|
119 |
0
| __equalsCalc = obj;
|
|
120 |
0
| boolean _equals;
|
|
121 |
0
| _equals = super.equals(obj) &&
|
|
122 |
| ((this.objectId==null && other.getObjectId()==null) || |
|
123 |
| (this.objectId!=null && |
|
124 |
| this.objectId.equals(other.getObjectId()))) && |
|
125 |
| ((this.groupNames==null && other.getGroupNames()==null) || |
|
126 |
| (this.groupNames!=null && |
|
127 |
| this.groupNames.equals(other.getGroupNames()))) && |
|
128 |
| ((this.objectNamespace==null && other.getObjectNamespace()==null) || |
|
129 |
| (this.objectNamespace!=null && |
|
130 |
| this.objectNamespace.equals(other.getObjectNamespace()))) && |
|
131 |
| ((this.objectName==null && other.getObjectName()==null) || |
|
132 |
| (this.objectName!=null && |
|
133 |
| this.objectName.equals(other.getObjectName()))); |
|
134 |
0
| __equalsCalc = null;
|
|
135 |
0
| return _equals;
|
|
136 |
| } |
|
137 |
| |
|
138 |
| private boolean __hashCodeCalc = false; |
|
139 |
0
| public synchronized int hashCode() {
|
|
140 |
0
| if (__hashCodeCalc) {
|
|
141 |
0
| return 0;
|
|
142 |
| } |
|
143 |
0
| __hashCodeCalc = true;
|
|
144 |
0
| int _hashCode = super.hashCode();
|
|
145 |
0
| if (getObjectId() != null) {
|
|
146 |
0
| _hashCode += getObjectId().hashCode();
|
|
147 |
| } |
|
148 |
0
| if (getGroupNames() != null) {
|
|
149 |
0
| _hashCode += getGroupNames().hashCode();
|
|
150 |
| } |
|
151 |
0
| if (getObjectNamespace() != null) {
|
|
152 |
0
| _hashCode += getObjectNamespace().hashCode();
|
|
153 |
| } |
|
154 |
0
| if (getObjectName() != null) {
|
|
155 |
0
| _hashCode += getObjectName().hashCode();
|
|
156 |
| } |
|
157 |
0
| __hashCodeCalc = false;
|
|
158 |
0
| return _hashCode;
|
|
159 |
| } |
|
160 |
| |
|
161 |
| |
|
162 |
| private static org.apache.axis.description.TypeDesc typeDesc = |
|
163 |
| new org.apache.axis.description.TypeDesc(ObjectData.class, true); |
|
164 |
| |
|
165 |
| static { |
|
166 |
0
| typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ObjectData"));
|
|
167 |
0
| org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
168 |
0
| elemField.setFieldName("objectId");
|
|
169 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectId"));
|
|
170 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
171 |
0
| elemField.setNillable(true);
|
|
172 |
0
| typeDesc.addFieldDesc(elemField);
|
|
173 |
0
| elemField = new org.apache.axis.description.ElementDesc();
|
|
174 |
0
| elemField.setFieldName("groupNames");
|
|
175 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "groupNames"));
|
|
176 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ArrayOfString"));
|
|
177 |
0
| elemField.setNillable(true);
|
|
178 |
0
| typeDesc.addFieldDesc(elemField);
|
|
179 |
0
| elemField = new org.apache.axis.description.ElementDesc();
|
|
180 |
0
| elemField.setFieldName("objectNamespace");
|
|
181 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectNamespace"));
|
|
182 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
183 |
0
| typeDesc.addFieldDesc(elemField);
|
|
184 |
0
| elemField = new org.apache.axis.description.ElementDesc();
|
|
185 |
0
| elemField.setFieldName("objectName");
|
|
186 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectName"));
|
|
187 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
188 |
0
| typeDesc.addFieldDesc(elemField);
|
|
189 |
| } |
|
190 |
| |
|
191 |
| |
|
192 |
| |
|
193 |
| |
|
194 |
0
| public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
195 |
0
| return typeDesc;
|
|
196 |
| } |
|
197 |
| |
|
198 |
| |
|
199 |
| |
|
200 |
| |
|
201 |
0
| public static org.apache.axis.encoding.Serializer getSerializer(
|
|
202 |
| java.lang.String mechType, |
|
203 |
| java.lang.Class _javaType, |
|
204 |
| javax.xml.namespace.QName _xmlType) { |
|
205 |
0
| return
|
|
206 |
| new org.apache.axis.encoding.ser.BeanSerializer( |
|
207 |
| _javaType, _xmlType, typeDesc); |
|
208 |
| } |
|
209 |
| |
|
210 |
| |
|
211 |
| |
|
212 |
| |
|
213 |
0
| public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
214 |
| java.lang.String mechType, |
|
215 |
| java.lang.Class _javaType, |
|
216 |
| javax.xml.namespace.QName _xmlType) { |
|
217 |
0
| return
|
|
218 |
| new org.apache.axis.encoding.ser.BeanDeserializer( |
|
219 |
| _javaType, _xmlType, typeDesc); |
|
220 |
| } |
|
221 |
| |
|
222 |
| } |