Class RegistryKey

java.lang.Object
org.alfresco.repo.admin.registry.RegistryKey
All Implemented Interfaces:
Serializable

public class RegistryKey extends Object implements Serializable
Key for looking up registry metadata.
Author:
Derek Hulley
See Also:
  • Constructor Details

    • RegistryKey

      public RegistryKey(String namespaceUri, String... key)
      For path /a/b/c and property 'x', put in
       "a", "b", "c", "x"
       
      The property can also be null as in
       "a", "b", "c", null
       
      Parameters:
      namespaceUri - the key namespace to use. If left null then the default will be used.
      key - the path elements followed by the property name.
    • RegistryKey

      public RegistryKey(String namespaceUri, String[] path, String property)
      A constructor to specifically declare the path and property portions of the key.
      Parameters:
      namespaceUri - the key namespace to use. If left null then the default will be used.
      path - the path part of the key
      property - the property name for the key. This may be null.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

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

      public String getNamespaceUri()
    • getPath

      public String[] getPath()
    • getProperty

      public String getProperty()