public boolean equals()

in apis/chef/src/main/java/org/jclouds/chef/domain/Node.java [200:254]


   public boolean equals(Object obj) {
      if (this == obj)
         return true;
      if (obj == null)
         return false;
      if (getClass() != obj.getClass())
         return false;
      Node other = (Node) obj;
      if (_chefType == null) {
         if (other._chefType != null)
            return false;
      } else if (!_chefType.equals(other._chefType))
         return false;
      if (_jsonClass == null) {
         if (other._jsonClass != null)
            return false;
      } else if (!_jsonClass.equals(other._jsonClass))
         return false;
      if (automaticAttributes == null) {
         if (other.automaticAttributes != null)
            return false;
      } else if (!automaticAttributes.equals(other.automaticAttributes))
         return false;
      if (defaultAttributes == null) {
         if (other.defaultAttributes != null)
            return false;
      } else if (!defaultAttributes.equals(other.defaultAttributes))
         return false;
      if (name == null) {
         if (other.name != null)
            return false;
      } else if (!name.equals(other.name))
         return false;
      if (normalAttributes == null) {
         if (other.normalAttributes != null)
            return false;
      } else if (!normalAttributes.equals(other.normalAttributes))
         return false;
      if (overrideAttributes == null) {
         if (other.overrideAttributes != null)
            return false;
      } else if (!overrideAttributes.equals(other.overrideAttributes))
         return false;
      if (runList == null) {
         if (other.runList != null)
            return false;
      } else if (!runList.equals(other.runList))
         return false;
      if (environment == null) {
         if (other.environment != null)
            return false;
      } else if (!environment.equals(other.environment))
         return false;
      return true;
   }