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 Details

    • 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 be null.
      Returns:
      the object key.
    • getName

      public String getName()
      Returns the name of this object.
    • equals

      public boolean equals(Object anObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object