Class ObjectKey
- java.lang.Object
- com.orchestranetworks.userservice.ObjectKey
public final class ObjectKey extends Object
Identifies an object from a given context. This class is immutable.- Since:
- 5.8.0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals (Object anObject)
static ObjectKey
forName (String aName)
Returns an object key given a name.String
getName()
Returns the name of this object.int
hashCode()
String
toString()
-
-
Method Detail
forName
public static ObjectKey forName(String aName)
Returns an object key given a name. The name must begin with a letter ([a-zA-Z]) and may be followed by any number of letters, digits ([0-9]) and underscores ("_").- Parameters:
aName
- the object name. It cannot benull
.- Returns:
- the object key.
getName
public String getName()
Returns the name of this object.
-