@param obj @return boolean
(Object obj)
| 164 | * @return boolean |
| 165 | */ |
| 166 | @Override |
| 167 | public boolean equals(Object obj) { |
| 168 | if(! (obj instanceof Property)) { |
| 169 | return false; |
| 170 | } |
| 171 | Property varComp = (Property)obj; |
| 172 | return (this.getKey().equals(varComp.getKey()) |
| 173 | && (this.getValue() + "").equals(varComp.getValue() + "") |
| 174 | && (this.getType() + "").equals(varComp.getType() + "") |
| 175 | && (this.getDescription() + "").equals(varComp.getDescription() + "")); |
| 176 | } |
| 177 | |
| 178 | } |
no test coverage detected