gt:            result = 37 * result + _alias.hashCode();
context: /*******************************************************************************
   * This file is part of OpenNMS(R).
   *
   * Copyright (C) 2011-2012 The OpenNMS Group, Inc.
   * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
   *
   * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
   *
   * OpenNMS(R) is free software: you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published
   * by the Free Software Foundation, either version 3 of the License,
   * or (at your option) any later version.
   *
   * OpenNMS(R) is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with OpenNMS(R).  If not, see:
   *      http://www.gnu.org/licenses/
   *
   * For more information contact:
   *     OpenNMS(R) Licensing <license@opennms.org>
   *     http://www.opennms.org/
   *     http://www.opennms.com/
   *******************************************************************************/
  
  /*
   * This class was automatically generated with 
   * <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
   * Schema.
   * $Id$
   */
  
  package org.opennms.netmgt.config.nsclient;
  
    //---------------------------------/
   //- Imported classes and packages -/
  //---------------------------------/
  
  import org.exolab.castor.xml.Marshaller;
  import org.exolab.castor.xml.Unmarshaller;
  
  /**
   * An Attribute Object
   * 
   * @version $Revision$ $Date$
   */
  
  @SuppressWarnings("all") public class Attrib implements java.io.Serializable {
  
  
        //--------------------------/
       //- Class/Member Variables -/
      //--------------------------/
  
      /**
       * Field _name.
       */
      private java.lang.String _name;
  
      /**
       * Field _alias.
       */
      private java.lang.String _alias;
  
      /**
       * Field _type.
       */
      private java.lang.String _type;
  
      /**
       * Field _maxval.
       */
      private java.lang.String _maxval;
  
      /**
       * Field _minval.
       */
      private java.lang.String _minval;
  
  
        //----------------/
       //- Constructors -/
      //----------------/
  
      public Attrib() {
          super();
      }
  
  
        //-----------/
       //- Methods -/
      //-----------/
  
      /**
       * Overrides the java.lang.Object.equals method.
       * 
       * @param obj
       * @return true if the objects are equal.
       */
      @Override()
      public boolean equals(
              final java.lang.Object obj) {
          if ( this == obj )
              return true;
          
          if (obj instanceof Attrib) {
          
              Attrib temp = (Attrib)obj;
              if (this._name != null) {
                  if (temp._name == null) return false;
                  else if (!(this._name.equals(temp._name))) 
                      return false;
              }
              else if (temp._name != null)
                  return false;
              if (this._alias != null) {
                  if (temp._alias == null) return false;
                  else if (!(this._alias.equals(temp._alias))) 
                      return false;
              }
              else if (temp._alias != null)
                  return false;
              if (this._type != null) {
                  if (temp._type == null) return false;
                  else if (!(this._type.equals(temp._type))) 
                      return false;
              }
              else if (temp._type != null)
                  return false;
              if (this._maxval != null) {
                  if (temp._maxval == null) return false;
                  else if (!(this._maxval.equals(temp._maxval))) 
                      return false;
              }
              else if (temp._maxval != null)
                  return false;
              if (this._minval != null) {
                  if (temp._minval == null) return false;
                  else if (!(this._minval.equals(temp._minval))) 
                      return false;
              }
              else if (temp._minval != null)
                  return false;
              return true;
          }
          return false;
      }
  
      /**
       * Returns the value of field 'alias'.
       * 
       * @return the value of field 'Alias'.
       */
      public java.lang.String getAlias(
      ) {
          return this._alias;
      }
  
      /**
       * Returns the value of field 'maxval'.
       * 
       * @return the value of field 'Maxval'.
       */
      public java.lang.String getMaxval(
      ) {
          return this._maxval;
      }
  
      /**
       * Returns the value of field 'minval'.
       * 
       * @return the value of field 'Minval'.
       */
      public java.lang.String getMinval(
      ) {
          return this._minval;
      }
  
      /**
       * Returns the value of field 'name'.
       * 
       * @return the value of field 'Name'.
       */
      public java.lang.String getName(
      ) {
          return this._name;
      }
  
      /**
       * Returns the value of field 'type'.
       * 
       * @return the value of field 'Type'.
       */
      public java.lang.String getType(
      ) {
          return this._type;
      }
  
      /**
       * Overrides the java.lang.Object.hashCode method.
       * <p>
       * The following steps came from <b>Effective Java Programming
       * Language Guide</b> by Joshua Bloch, Chapter 3
       * 
       * @return a hash code value for the object.
       */
      @Override
      public int hashCode(
      ) {
          int result = 17;
          
          long tmp;
          if (_name != null) {
             result = 37 * result + _name.hashCode();
          }
          if (_alias != null) {
  