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 booleanequals(Object anObject)static ObjectKeyforName(String aName)Returns an object key given a name.StringgetName()Returns the name of this object.inthashCode()StringtoString()
-
-
-
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.
-
-