(Object obj)
| 144 | } |
| 145 | |
| 146 | @Override |
| 147 | public boolean equals(Object obj) { |
| 148 | if (this == obj) return true; |
| 149 | if (obj == null) return false; |
| 150 | if (getClass() != obj.getClass()) return false; |
| 151 | final Prop other = (Prop) obj; |
| 152 | if (name == null) { |
| 153 | if (other.name != null) return false; |
| 154 | } else if (!name.equals(other.name)) return false; |
| 155 | return true; |
| 156 | } |
| 157 | |
| 158 | public String getName() { |
| 159 | return name; |