|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| package org.globus.cas.types; |
|
9 |
| |
|
10 |
| public class CasObjectDesc implements java.io.Serializable { |
|
11 |
| private java.lang.String typeOfCasObject; |
|
12 |
| private java.lang.String nameOfCasObject; |
|
13 |
| |
|
14 |
0
| public CasObjectDesc() {
|
|
15 |
| } |
|
16 |
| |
|
17 |
0
| public CasObjectDesc(
|
|
18 |
| java.lang.String nameOfCasObject, |
|
19 |
| java.lang.String typeOfCasObject) { |
|
20 |
0
| this.typeOfCasObject = typeOfCasObject;
|
|
21 |
0
| this.nameOfCasObject = nameOfCasObject;
|
|
22 |
| } |
|
23 |
| |
|
24 |
| |
|
25 |
| |
|
26 |
| |
|
27 |
| |
|
28 |
| |
|
29 |
| |
|
30 |
0
| public java.lang.String getTypeOfCasObject() {
|
|
31 |
0
| return typeOfCasObject;
|
|
32 |
| } |
|
33 |
| |
|
34 |
| |
|
35 |
| |
|
36 |
| |
|
37 |
| |
|
38 |
| |
|
39 |
| |
|
40 |
0
| public void setTypeOfCasObject(java.lang.String typeOfCasObject) {
|
|
41 |
0
| this.typeOfCasObject = typeOfCasObject;
|
|
42 |
| } |
|
43 |
| |
|
44 |
| |
|
45 |
| |
|
46 |
| |
|
47 |
| |
|
48 |
| |
|
49 |
| |
|
50 |
0
| public java.lang.String getNameOfCasObject() {
|
|
51 |
0
| return nameOfCasObject;
|
|
52 |
| } |
|
53 |
| |
|
54 |
| |
|
55 |
| |
|
56 |
| |
|
57 |
| |
|
58 |
| |
|
59 |
| |
|
60 |
0
| public void setNameOfCasObject(java.lang.String nameOfCasObject) {
|
|
61 |
0
| this.nameOfCasObject = nameOfCasObject;
|
|
62 |
| } |
|
63 |
| |
|
64 |
| private java.lang.Object __equalsCalc = null; |
|
65 |
0
| public synchronized boolean equals(java.lang.Object obj) {
|
|
66 |
0
| if (!(obj instanceof CasObjectDesc)) return false;
|
|
67 |
0
| CasObjectDesc other = (CasObjectDesc) obj;
|
|
68 |
0
| if (obj == null) return false;
|
|
69 |
0
| if (this == obj) return true;
|
|
70 |
0
| if (__equalsCalc != null) {
|
|
71 |
0
| return (__equalsCalc == obj);
|
|
72 |
| } |
|
73 |
0
| __equalsCalc = obj;
|
|
74 |
0
| boolean _equals;
|
|
75 |
0
| _equals = true &&
|
|
76 |
| ((this.typeOfCasObject==null && other.getTypeOfCasObject()==null) || |
|
77 |
| (this.typeOfCasObject!=null && |
|
78 |
| this.typeOfCasObject.equals(other.getTypeOfCasObject()))) && |
|
79 |
| ((this.nameOfCasObject==null && other.getNameOfCasObject()==null) || |
|
80 |
| (this.nameOfCasObject!=null && |
|
81 |
| this.nameOfCasObject.equals(other.getNameOfCasObject()))); |
|
82 |
0
| __equalsCalc = null;
|
|
83 |
0
| return _equals;
|
|
84 |
| } |
|
85 |
| |
|
86 |
| private boolean __hashCodeCalc = false; |
|
87 |
0
| public synchronized int hashCode() {
|
|
88 |
0
| if (__hashCodeCalc) {
|
|
89 |
0
| return 0;
|
|
90 |
| } |
|
91 |
0
| __hashCodeCalc = true;
|
|
92 |
0
| int _hashCode = 1;
|
|
93 |
0
| if (getTypeOfCasObject() != null) {
|
|
94 |
0
| _hashCode += getTypeOfCasObject().hashCode();
|
|
95 |
| } |
|
96 |
0
| if (getNameOfCasObject() != null) {
|
|
97 |
0
| _hashCode += getNameOfCasObject().hashCode();
|
|
98 |
| } |
|
99 |
0
| __hashCodeCalc = false;
|
|
100 |
0
| return _hashCode;
|
|
101 |
| } |
|
102 |
| |
|
103 |
| |
|
104 |
| private static org.apache.axis.description.TypeDesc typeDesc = |
|
105 |
| new org.apache.axis.description.TypeDesc(CasObjectDesc.class, true); |
|
106 |
| |
|
107 |
| static { |
|
108 |
0
| typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "casObjectDesc"));
|
|
109 |
0
| org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
110 |
0
| elemField.setFieldName("typeOfCasObject");
|
|
111 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "typeOfCasObject"));
|
|
112 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
113 |
0
| typeDesc.addFieldDesc(elemField);
|
|
114 |
0
| elemField = new org.apache.axis.description.ElementDesc();
|
|
115 |
0
| elemField.setFieldName("nameOfCasObject");
|
|
116 |
0
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "nameOfCasObject"));
|
|
117 |
0
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
118 |
0
| typeDesc.addFieldDesc(elemField);
|
|
119 |
| } |
|
120 |
| |
|
121 |
| |
|
122 |
| |
|
123 |
| |
|
124 |
0
| public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
125 |
0
| return typeDesc;
|
|
126 |
| } |
|
127 |
| |
|
128 |
| |
|
129 |
| |
|
130 |
| |
|
131 |
0
| public static org.apache.axis.encoding.Serializer getSerializer(
|
|
132 |
| java.lang.String mechType, |
|
133 |
| java.lang.Class _javaType, |
|
134 |
| javax.xml.namespace.QName _xmlType) { |
|
135 |
0
| return
|
|
136 |
| new org.apache.axis.encoding.ser.BeanSerializer( |
|
137 |
| _javaType, _xmlType, typeDesc); |
|
138 |
| } |
|
139 |
| |
|
140 |
| |
|
141 |
| |
|
142 |
| |
|
143 |
0
| public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
144 |
| java.lang.String mechType, |
|
145 |
| java.lang.Class _javaType, |
|
146 |
| javax.xml.namespace.QName _xmlType) { |
|
147 |
0
| return
|
|
148 |
| new org.apache.axis.encoding.ser.BeanDeserializer( |
|
149 |
| _javaType, _xmlType, typeDesc); |
|
150 |
| } |
|
151 |
| |
|
152 |
| } |