public boolean equals(Object other){
  if (other == null || getClass() != other.getClass()) {
    return false;
  }
  if (other == this) {
    return true;
  }
  DefaultProperty dp=(DefaultProperty)other;
  return compare(name,dp.name) && compare(displayName,dp.displayName) && compare(shortDescription,dp.shortDescription)&& compare(category,dp.category)&& compare(type,dp.type)&& editable == dp.editable;
}

public boolean equals ( Object other ) { if ( other == null || getClass ( ) != other . getClass ( ) ) { return false ; } if ( other == this ) { return true ; } DefaultProperty dp = ( DefaultProperty ) other ; return compare ( name , dp . name ) && compare ( displayName , dp . displayName ) && compare ( shortDescription , dp . shortDescription ) && compare ( category , dp . category ) && compare ( type , dp . type ) && editable == dp . editable ; }
compares two defaultproperty objects . two defaultproperty objects are equal if they are the same object or if their name , display name , short description , category , type and editable property are the same . note the property value is not considered in the implementation .
