Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Setting.java This file was auto-generated from WSDL by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
  
  
  package org.nhind.config;
  
 public class Setting  implements java.io.Serializable {
     private java.util.Calendar createTime;
 
     private long id;
 
     private java.lang.String name;
 
     private org.nhind.config.EntityStatus status;
 
     private java.util.Calendar updateTime;
 
     private java.lang.String value;
 
     public Setting() {
     }
 
     public Setting(
            java.util.Calendar createTime,
            long id,
            java.lang.String name,
            org.nhind.config.EntityStatus status,
            java.util.Calendar updateTime,
            java.lang.String value) {
            this. = createTime;
            this. = id;
            this. = name;
            this. = status;
            this. = updateTime;
            this. = value;
     }


    
Gets the createTime value for this Setting.

Returns:
createTime
 
     public java.util.Calendar getCreateTime() {
         return ;
     }


    
Sets the createTime value for this Setting.

Parameters:
createTime
 
     public void setCreateTime(java.util.Calendar createTime) {
         this. = createTime;
     }


    
Gets the id value for this Setting.

Returns:
id
 
     public long getId() {
         return ;
     }


    
Sets the id value for this Setting.

Parameters:
id
 
     public void setId(long id) {
         this. = id;
     }


    
Gets the name value for this Setting.

Returns:
name
 
     public java.lang.String getName() {
         return ;
     }


    
Sets the name value for this Setting.

Parameters:
name
 
     public void setName(java.lang.String name) {
         this. = name;
     }


    
Gets the status value for this Setting.

Returns:
status
    public org.nhind.config.EntityStatus getStatus() {
        return ;
    }


    
Sets the status value for this Setting.

Parameters:
status
    public void setStatus(org.nhind.config.EntityStatus status) {
        this. = status;
    }


    
Gets the updateTime value for this Setting.

Returns:
updateTime
    public java.util.Calendar getUpdateTime() {
        return ;
    }


    
Sets the updateTime value for this Setting.

Parameters:
updateTime
    public void setUpdateTime(java.util.Calendar updateTime) {
        this. = updateTime;
    }


    
Gets the value value for this Setting.

Returns:
value
    public java.lang.String getValue() {
        return ;
    }


    
Sets the value value for this Setting.

Parameters:
value
    public void setValue(java.lang.String value) {
        this. = value;
    }
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof Setting)) return false;
        Setting other = (Settingobj;
        if (obj == nullreturn false;
        if (this == objreturn true;
        if ( != null) {
            return ( == obj);
        }
         = obj;
        boolean _equals;
        _equals = true && 
            ((this.==null && other.getCreateTime()==null) || 
             (this.!=null &&
              this..equals(other.getCreateTime()))) &&
            this. == other.getId() &&
            ((this.==null && other.getName()==null) || 
             (this.!=null &&
              this..equals(other.getName()))) &&
            ((this.==null && other.getStatus()==null) || 
             (this.!=null &&
              this..equals(other.getStatus()))) &&
            ((this.==null && other.getUpdateTime()==null) || 
             (this.!=null &&
              this..equals(other.getUpdateTime()))) &&
            ((this.==null && other.getValue()==null) || 
             (this.!=null &&
              this..equals(other.getValue())));
         = null;
        return _equals;
    }
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if () {
            return 0;
        }
         = true;
        int _hashCode = 1;
        if (getCreateTime() != null) {
            _hashCode += getCreateTime().hashCode();
        }
        _hashCode += new Long(getId()).hashCode();
        if (getName() != null) {
            _hashCode += getName().hashCode();
        }
        if (getStatus() != null) {
            _hashCode += getStatus().hashCode();
        }
        if (getUpdateTime() != null) {
            _hashCode += getUpdateTime().hashCode();
        }
        if (getValue() != null) {
            _hashCode += getValue().hashCode();
        }
         = false;
        return _hashCode;
    }
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(Setting.classtrue);
    static {
        .setXmlType(new javax.xml.namespace.QName("http://nhind.org/config""setting"));
        elemField.setFieldName("createTime");
        elemField.setXmlName(new javax.xml.namespace.QName("""createTime"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema""dateTime"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        .addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("id");
        elemField.setXmlName(new javax.xml.namespace.QName("""id"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema""long"));
        elemField.setNillable(false);
        .addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("name");
        elemField.setXmlName(new javax.xml.namespace.QName("""name"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema""string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        .addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("status");
        elemField.setXmlName(new javax.xml.namespace.QName("""status"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://nhind.org/config""entityStatus"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        .addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("updateTime");
        elemField.setXmlName(new javax.xml.namespace.QName("""updateTime"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema""dateTime"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        .addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("value");
        elemField.setXmlName(new javax.xml.namespace.QName("""value"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema""string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        .addFieldDesc(elemField);
    }

    
Return type metadata object
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return ;
    }

    
Get Custom Serializer
           java.lang.String mechType
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType_xmlType);
    }

    
Get Custom Deserializer
           java.lang.String mechType
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType_xmlType);
    }
New to GrepCode? Check out our FAQ X