fr.dyade.aaa.util
Class OperationKey

java.lang.Object
  extended by 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).


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.
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
 

Method Detail

newKey

public 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 © 2011 ScalAgent D.T.. All Rights Reserved.