Class BusinessKey

    • Constructor Detail

      • BusinessKey

        public BusinessKey​(String key)
      • BusinessKey

        public BusinessKey​(String initObjectType,
                           CharSequence initPath)
        Note: the initPath variable may not contain the object type, or the result will always be null. (ie. a business key with String JobDefinition:GLOBAL.JobDefinitionName should only pass in GLOBAL.JobDefinitionName
        Parameters:
        initObjectType -
        initPath -
      • BusinessKey

        public BusinessKey​(String initObjectType,
                           String... initPathElements)
    • Method Detail

      • getObjectType

        public String getObjectType()
        The type of concrete object that this business-key refers to.
        Returns:
        the type of object this business-key refers to.
      • getPathElementsAsList

        public List<String> getPathElementsAsList()
        The path to this object. This will be an unmodifiable reference to the path, represented as a series of elements.
        Returns:
        the path to this object.
      • getPath

        public CharSequence getPath()
        The path to this object, represented as a single sequence of characters.
        Returns:
        the path to this object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object