fr.dyade.aaa.util
Class OperationKey
java.lang.Object
fr.dyade.aaa.util.OperationKey
public class OperationKey
- extends java.lang.Object
This class describes a Key for Operation object with a relative path, key for
other object is the name of the object (String).
Field Summary |
private java.lang.String |
dirName
|
private java.lang.String |
name
|
Constructor Summary |
private |
OperationKey(java.lang.String dirName,
java.lang.String name)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
(package private) static java.lang.Object |
newKey(java.lang.String dirName,
java.lang.String name)
Creates a new key for the specified object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
dirName
private java.lang.String dirName
name
private java.lang.String name
OperationKey
private OperationKey(java.lang.String dirName,
java.lang.String name)
newKey
static java.lang.Object newKey(java.lang.String dirName,
java.lang.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:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object obj)
- Indicates whether some other object is "equal to" this one.
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.