@Override public boolean equals(Object o){
  if (o == this)   return true;
  if (!(o instanceof Record))   return false;
  Record other=(Record)o;
  return (name == null ? other.name == null : name.equals(other.name)) && (type == null ? other.type == null : type.equals(other.type)) && (location == null ? other.location == null : location.equals(other.location))&& (metadata == null ? other.metadata == null : metadata.equals(other.metadata))&& (registration == null ? other.registration == null : registration.equals(other.registration))&& (status == null ? other.status == null : status.equals(other.status));
}

@ Override public boolean equals ( Object o ) { if ( o == this ) return true ; if ( ! ( o instanceof Record ) ) return false ; Record other = ( Record ) o ; return ( name == null ? other . name == null : name . equals ( other . name ) ) && ( type == null ? other . type == null : type . equals ( other . type ) ) && ( location == null ? other . location == null : location . equals ( other . location ) ) && ( metadata == null ? other . metadata == null : metadata . equals ( other . metadata ) ) && ( registration == null ? other . registration == null : registration . equals ( other . registration ) ) && ( status == null ? other . status == null : status . equals ( other . status ) ) ; }
checks whether or not the current object is equal to the given object .
