| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- /**
- * GetAllUnnormalCalvByDate.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
- package com.izouma.webservice.wsBreeding;
- public class GetAllUnnormalCalvByDate implements java.io.Serializable {
- private java.lang.String farmName;
- private java.util.Calendar begin;
- private java.util.Calendar end;
- public GetAllUnnormalCalvByDate() {
- }
- public GetAllUnnormalCalvByDate(
- java.lang.String farmName,
- java.util.Calendar begin,
- java.util.Calendar end) {
- this.farmName = farmName;
- this.begin = begin;
- this.end = end;
- }
- /**
- * Gets the farmName value for this GetAllUnnormalCalvByDate.
- *
- * @return farmName
- */
- public java.lang.String getFarmName() {
- return farmName;
- }
- /**
- * Sets the farmName value for this GetAllUnnormalCalvByDate.
- *
- * @param farmName
- */
- public void setFarmName(java.lang.String farmName) {
- this.farmName = farmName;
- }
- /**
- * Gets the begin value for this GetAllUnnormalCalvByDate.
- *
- * @return begin
- */
- public java.util.Calendar getBegin() {
- return begin;
- }
- /**
- * Sets the begin value for this GetAllUnnormalCalvByDate.
- *
- * @param begin
- */
- public void setBegin(java.util.Calendar begin) {
- this.begin = begin;
- }
- /**
- * Gets the end value for this GetAllUnnormalCalvByDate.
- *
- * @return end
- */
- public java.util.Calendar getEnd() {
- return end;
- }
- /**
- * Sets the end value for this GetAllUnnormalCalvByDate.
- *
- * @param end
- */
- public void setEnd(java.util.Calendar end) {
- this.end = end;
- }
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetAllUnnormalCalvByDate)) return false;
- GetAllUnnormalCalvByDate other = (GetAllUnnormalCalvByDate) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.farmName==null && other.getFarmName()==null) ||
- (this.farmName!=null &&
- this.farmName.equals(other.getFarmName()))) &&
- ((this.begin==null && other.getBegin()==null) ||
- (this.begin!=null &&
- this.begin.equals(other.getBegin()))) &&
- ((this.end==null && other.getEnd()==null) ||
- (this.end!=null &&
- this.end.equals(other.getEnd())));
- __equalsCalc = null;
- return _equals;
- }
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getFarmName() != null) {
- _hashCode += getFarmName().hashCode();
- }
- if (getBegin() != null) {
- _hashCode += getBegin().hashCode();
- }
- if (getEnd() != null) {
- _hashCode += getEnd().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetAllUnnormalCalvByDate.class, true);
- static {
- typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">getAllUnnormalCalvByDate"));
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("farmName");
- elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "farmName"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("begin");
- elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "begin"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("end");
- elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "end"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
- }
|