Class ObjectKey


  • public final class ObjectKey
    extends Object
    Identifies an object from a given context. This class is immutable.
    Since:
    5.8.0
    • 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 be null.
        Returns:
        the object key.
      • getName

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

        public int hashCode()
        Overrides:
        hashCode in class Object