Package fr.dyade.aaa.util
Class OperationKey
- java.lang.Object
-
- fr.dyade.aaa.util.OperationKey
-
public class OperationKey extends Object
This class describes a Key for Operation object with a relative path, key for other object is the name of the object (String).
-
-
Constructor Summary
Constructors Modifier Constructor Description privateOperationKey(String dirName, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Indicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for the object.static ObjectnewKey(String dirName, String name)Creates a new key for the specified object.
-
-
-
Method Detail
-
newKey
public static Object newKey(String dirName, String name)
Creates a new key for the specified object.- Parameters:
dirName- relative path of the object.name- name of the object.- Returns:
- A new key for the specified object.
-
hashCode
public int hashCode()
Returns a hash code value for the object.- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
Indicates whether some other object is "equal to" this one.- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
-