(Object obj)
| 337 | * @see java.lang.Object#equals(java.lang.Object) |
| 338 | */ |
| 339 | @Override |
| 340 | public boolean equals(Object obj) |
| 341 | { |
| 342 | if (this == obj) |
| 343 | { |
| 344 | return true; |
| 345 | } |
| 346 | |
| 347 | if (!(obj instanceof InboundVariable)) |
| 348 | { |
| 349 | return false; |
| 350 | } |
| 351 | |
| 352 | InboundVariable that = (InboundVariable) obj; |
| 353 | |
| 354 | if (!this.type.equals(that.type)) |
| 355 | { |
| 356 | return false; |
| 357 | } |
| 358 | |
| 359 | if (!this.formField.equals(that.formField)) |
| 360 | { |
| 361 | return false; |
| 362 | } |
| 363 | |
| 364 | if (this.key == null || that.key == null) |
| 365 | { |
| 366 | return false; |
| 367 | } |
| 368 | |
| 369 | return true; // this.key.equals(that.key); |
| 370 | } |
| 371 | |
| 372 | public String getType() { |
| 373 | return type; |
no outgoing calls