NomateInfo.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. /**
  2. * NomateInfo.java
  3. *
  4. * This file was auto-generated from WSDL
  5. * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
  6. */
  7. package com.izouma.webservice.wsBreeding;
  8. public class NomateInfo implements java.io.Serializable {
  9. private java.lang.String cowID;
  10. private java.util.Calendar nomateDate;
  11. private java.lang.String currFarm;
  12. private java.lang.String currGroup;
  13. private java.lang.String currCategory;
  14. private java.lang.String groCode;
  15. private java.lang.String repCode;
  16. private int currLact;
  17. private boolean nomateProperty;
  18. private java.lang.String nomateReason;
  19. private java.lang.String operators;
  20. public NomateInfo() {
  21. }
  22. public NomateInfo(
  23. java.lang.String cowID,
  24. java.util.Calendar nomateDate,
  25. java.lang.String currFarm,
  26. java.lang.String currGroup,
  27. java.lang.String currCategory,
  28. java.lang.String groCode,
  29. java.lang.String repCode,
  30. int currLact,
  31. boolean nomateProperty,
  32. java.lang.String nomateReason,
  33. java.lang.String operators) {
  34. this.cowID = cowID;
  35. this.nomateDate = nomateDate;
  36. this.currFarm = currFarm;
  37. this.currGroup = currGroup;
  38. this.currCategory = currCategory;
  39. this.groCode = groCode;
  40. this.repCode = repCode;
  41. this.currLact = currLact;
  42. this.nomateProperty = nomateProperty;
  43. this.nomateReason = nomateReason;
  44. this.operators = operators;
  45. }
  46. /**
  47. * Gets the cowID value for this NomateInfo.
  48. *
  49. * @return cowID
  50. */
  51. public java.lang.String getCowID() {
  52. return cowID;
  53. }
  54. /**
  55. * Sets the cowID value for this NomateInfo.
  56. *
  57. * @param cowID
  58. */
  59. public void setCowID(java.lang.String cowID) {
  60. this.cowID = cowID;
  61. }
  62. /**
  63. * Gets the nomateDate value for this NomateInfo.
  64. *
  65. * @return nomateDate
  66. */
  67. public java.util.Calendar getNomateDate() {
  68. return nomateDate;
  69. }
  70. /**
  71. * Sets the nomateDate value for this NomateInfo.
  72. *
  73. * @param nomateDate
  74. */
  75. public void setNomateDate(java.util.Calendar nomateDate) {
  76. this.nomateDate = nomateDate;
  77. }
  78. /**
  79. * Gets the currFarm value for this NomateInfo.
  80. *
  81. * @return currFarm
  82. */
  83. public java.lang.String getCurrFarm() {
  84. return currFarm;
  85. }
  86. /**
  87. * Sets the currFarm value for this NomateInfo.
  88. *
  89. * @param currFarm
  90. */
  91. public void setCurrFarm(java.lang.String currFarm) {
  92. this.currFarm = currFarm;
  93. }
  94. /**
  95. * Gets the currGroup value for this NomateInfo.
  96. *
  97. * @return currGroup
  98. */
  99. public java.lang.String getCurrGroup() {
  100. return currGroup;
  101. }
  102. /**
  103. * Sets the currGroup value for this NomateInfo.
  104. *
  105. * @param currGroup
  106. */
  107. public void setCurrGroup(java.lang.String currGroup) {
  108. this.currGroup = currGroup;
  109. }
  110. /**
  111. * Gets the currCategory value for this NomateInfo.
  112. *
  113. * @return currCategory
  114. */
  115. public java.lang.String getCurrCategory() {
  116. return currCategory;
  117. }
  118. /**
  119. * Sets the currCategory value for this NomateInfo.
  120. *
  121. * @param currCategory
  122. */
  123. public void setCurrCategory(java.lang.String currCategory) {
  124. this.currCategory = currCategory;
  125. }
  126. /**
  127. * Gets the groCode value for this NomateInfo.
  128. *
  129. * @return groCode
  130. */
  131. public java.lang.String getGroCode() {
  132. return groCode;
  133. }
  134. /**
  135. * Sets the groCode value for this NomateInfo.
  136. *
  137. * @param groCode
  138. */
  139. public void setGroCode(java.lang.String groCode) {
  140. this.groCode = groCode;
  141. }
  142. /**
  143. * Gets the repCode value for this NomateInfo.
  144. *
  145. * @return repCode
  146. */
  147. public java.lang.String getRepCode() {
  148. return repCode;
  149. }
  150. /**
  151. * Sets the repCode value for this NomateInfo.
  152. *
  153. * @param repCode
  154. */
  155. public void setRepCode(java.lang.String repCode) {
  156. this.repCode = repCode;
  157. }
  158. /**
  159. * Gets the currLact value for this NomateInfo.
  160. *
  161. * @return currLact
  162. */
  163. public int getCurrLact() {
  164. return currLact;
  165. }
  166. /**
  167. * Sets the currLact value for this NomateInfo.
  168. *
  169. * @param currLact
  170. */
  171. public void setCurrLact(int currLact) {
  172. this.currLact = currLact;
  173. }
  174. /**
  175. * Gets the nomateProperty value for this NomateInfo.
  176. *
  177. * @return nomateProperty
  178. */
  179. public boolean isNomateProperty() {
  180. return nomateProperty;
  181. }
  182. /**
  183. * Sets the nomateProperty value for this NomateInfo.
  184. *
  185. * @param nomateProperty
  186. */
  187. public void setNomateProperty(boolean nomateProperty) {
  188. this.nomateProperty = nomateProperty;
  189. }
  190. /**
  191. * Gets the nomateReason value for this NomateInfo.
  192. *
  193. * @return nomateReason
  194. */
  195. public java.lang.String getNomateReason() {
  196. return nomateReason;
  197. }
  198. /**
  199. * Sets the nomateReason value for this NomateInfo.
  200. *
  201. * @param nomateReason
  202. */
  203. public void setNomateReason(java.lang.String nomateReason) {
  204. this.nomateReason = nomateReason;
  205. }
  206. /**
  207. * Gets the operators value for this NomateInfo.
  208. *
  209. * @return operators
  210. */
  211. public java.lang.String getOperators() {
  212. return operators;
  213. }
  214. /**
  215. * Sets the operators value for this NomateInfo.
  216. *
  217. * @param operators
  218. */
  219. public void setOperators(java.lang.String operators) {
  220. this.operators = operators;
  221. }
  222. private java.lang.Object __equalsCalc = null;
  223. public synchronized boolean equals(java.lang.Object obj) {
  224. if (!(obj instanceof NomateInfo)) return false;
  225. NomateInfo other = (NomateInfo) obj;
  226. if (obj == null) return false;
  227. if (this == obj) return true;
  228. if (__equalsCalc != null) {
  229. return (__equalsCalc == obj);
  230. }
  231. __equalsCalc = obj;
  232. boolean _equals;
  233. _equals = true &&
  234. ((this.cowID==null && other.getCowID()==null) ||
  235. (this.cowID!=null &&
  236. this.cowID.equals(other.getCowID()))) &&
  237. ((this.nomateDate==null && other.getNomateDate()==null) ||
  238. (this.nomateDate!=null &&
  239. this.nomateDate.equals(other.getNomateDate()))) &&
  240. ((this.currFarm==null && other.getCurrFarm()==null) ||
  241. (this.currFarm!=null &&
  242. this.currFarm.equals(other.getCurrFarm()))) &&
  243. ((this.currGroup==null && other.getCurrGroup()==null) ||
  244. (this.currGroup!=null &&
  245. this.currGroup.equals(other.getCurrGroup()))) &&
  246. ((this.currCategory==null && other.getCurrCategory()==null) ||
  247. (this.currCategory!=null &&
  248. this.currCategory.equals(other.getCurrCategory()))) &&
  249. ((this.groCode==null && other.getGroCode()==null) ||
  250. (this.groCode!=null &&
  251. this.groCode.equals(other.getGroCode()))) &&
  252. ((this.repCode==null && other.getRepCode()==null) ||
  253. (this.repCode!=null &&
  254. this.repCode.equals(other.getRepCode()))) &&
  255. this.currLact == other.getCurrLact() &&
  256. this.nomateProperty == other.isNomateProperty() &&
  257. ((this.nomateReason==null && other.getNomateReason()==null) ||
  258. (this.nomateReason!=null &&
  259. this.nomateReason.equals(other.getNomateReason()))) &&
  260. ((this.operators==null && other.getOperators()==null) ||
  261. (this.operators!=null &&
  262. this.operators.equals(other.getOperators())));
  263. __equalsCalc = null;
  264. return _equals;
  265. }
  266. private boolean __hashCodeCalc = false;
  267. public synchronized int hashCode() {
  268. if (__hashCodeCalc) {
  269. return 0;
  270. }
  271. __hashCodeCalc = true;
  272. int _hashCode = 1;
  273. if (getCowID() != null) {
  274. _hashCode += getCowID().hashCode();
  275. }
  276. if (getNomateDate() != null) {
  277. _hashCode += getNomateDate().hashCode();
  278. }
  279. if (getCurrFarm() != null) {
  280. _hashCode += getCurrFarm().hashCode();
  281. }
  282. if (getCurrGroup() != null) {
  283. _hashCode += getCurrGroup().hashCode();
  284. }
  285. if (getCurrCategory() != null) {
  286. _hashCode += getCurrCategory().hashCode();
  287. }
  288. if (getGroCode() != null) {
  289. _hashCode += getGroCode().hashCode();
  290. }
  291. if (getRepCode() != null) {
  292. _hashCode += getRepCode().hashCode();
  293. }
  294. _hashCode += getCurrLact();
  295. _hashCode += (isNomateProperty() ? Boolean.TRUE : Boolean.FALSE).hashCode();
  296. if (getNomateReason() != null) {
  297. _hashCode += getNomateReason().hashCode();
  298. }
  299. if (getOperators() != null) {
  300. _hashCode += getOperators().hashCode();
  301. }
  302. __hashCodeCalc = false;
  303. return _hashCode;
  304. }
  305. // Type metadata
  306. private static org.apache.axis.description.TypeDesc typeDesc =
  307. new org.apache.axis.description.TypeDesc(NomateInfo.class, true);
  308. static {
  309. typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "NomateInfo"));
  310. org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  311. elemField.setFieldName("cowID");
  312. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CowID"));
  313. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  314. elemField.setMinOccurs(0);
  315. elemField.setNillable(false);
  316. typeDesc.addFieldDesc(elemField);
  317. elemField = new org.apache.axis.description.ElementDesc();
  318. elemField.setFieldName("nomateDate");
  319. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "NomateDate"));
  320. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
  321. elemField.setNillable(false);
  322. typeDesc.addFieldDesc(elemField);
  323. elemField = new org.apache.axis.description.ElementDesc();
  324. elemField.setFieldName("currFarm");
  325. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrFarm"));
  326. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  327. elemField.setMinOccurs(0);
  328. elemField.setNillable(false);
  329. typeDesc.addFieldDesc(elemField);
  330. elemField = new org.apache.axis.description.ElementDesc();
  331. elemField.setFieldName("currGroup");
  332. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrGroup"));
  333. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  334. elemField.setMinOccurs(0);
  335. elemField.setNillable(false);
  336. typeDesc.addFieldDesc(elemField);
  337. elemField = new org.apache.axis.description.ElementDesc();
  338. elemField.setFieldName("currCategory");
  339. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrCategory"));
  340. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  341. elemField.setMinOccurs(0);
  342. elemField.setNillable(false);
  343. typeDesc.addFieldDesc(elemField);
  344. elemField = new org.apache.axis.description.ElementDesc();
  345. elemField.setFieldName("groCode");
  346. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GroCode"));
  347. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  348. elemField.setMinOccurs(0);
  349. elemField.setNillable(false);
  350. typeDesc.addFieldDesc(elemField);
  351. elemField = new org.apache.axis.description.ElementDesc();
  352. elemField.setFieldName("repCode");
  353. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "RepCode"));
  354. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  355. elemField.setMinOccurs(0);
  356. elemField.setNillable(false);
  357. typeDesc.addFieldDesc(elemField);
  358. elemField = new org.apache.axis.description.ElementDesc();
  359. elemField.setFieldName("currLact");
  360. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrLact"));
  361. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
  362. elemField.setNillable(false);
  363. typeDesc.addFieldDesc(elemField);
  364. elemField = new org.apache.axis.description.ElementDesc();
  365. elemField.setFieldName("nomateProperty");
  366. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "NomateProperty"));
  367. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  368. elemField.setNillable(false);
  369. typeDesc.addFieldDesc(elemField);
  370. elemField = new org.apache.axis.description.ElementDesc();
  371. elemField.setFieldName("nomateReason");
  372. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "NomateReason"));
  373. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  374. elemField.setMinOccurs(0);
  375. elemField.setNillable(false);
  376. typeDesc.addFieldDesc(elemField);
  377. elemField = new org.apache.axis.description.ElementDesc();
  378. elemField.setFieldName("operators");
  379. elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Operators"));
  380. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  381. elemField.setMinOccurs(0);
  382. elemField.setNillable(false);
  383. typeDesc.addFieldDesc(elemField);
  384. }
  385. /**
  386. * Return type metadata object
  387. */
  388. public static org.apache.axis.description.TypeDesc getTypeDesc() {
  389. return typeDesc;
  390. }
  391. /**
  392. * Get Custom Serializer
  393. */
  394. public static org.apache.axis.encoding.Serializer getSerializer(
  395. java.lang.String mechType,
  396. java.lang.Class _javaType,
  397. javax.xml.namespace.QName _xmlType) {
  398. return
  399. new org.apache.axis.encoding.ser.BeanSerializer(
  400. _javaType, _xmlType, typeDesc);
  401. }
  402. /**
  403. * Get Custom Deserializer
  404. */
  405. public static org.apache.axis.encoding.Deserializer getDeserializer(
  406. java.lang.String mechType,
  407. java.lang.Class _javaType,
  408. javax.xml.namespace.QName _xmlType) {
  409. return
  410. new org.apache.axis.encoding.ser.BeanDeserializer(
  411. _javaType, _xmlType, typeDesc);
  412. }
  413. }