Toshio Koide | 025a915 | 2014-07-21 11:00:34 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.api.batchoperation; |
| 2 | |
| 3 | /** |
| 4 | * An abstract class to represent ID of the batch operation target. |
| 5 | * <p> |
| 6 | * The sub-classes must implement equals() and hashCode() methods so that |
| 7 | * instance of this interface could be used as Map keys. |
| 8 | */ |
| 9 | public abstract class BatchOperationTargetId { |
| 10 | /** |
| 11 | * Returns a string representation of the target object's ID. |
| 12 | * |
| 13 | * @return a string representation of the target object's ID. |
| 14 | */ |
| 15 | @Override |
| 16 | public abstract String toString(); |
| 17 | |
| 18 | @Override |
| 19 | public abstract int hashCode(); |
| 20 | |
| 21 | @Override |
| 22 | public abstract boolean equals(Object obj); |
| 23 | } |