Package org.alfresco.repo.admin.registry
Class RegistryKey
- java.lang.Object
-
- org.alfresco.repo.admin.registry.RegistryKey
-
- All Implemented Interfaces:
java.io.Serializable
public class RegistryKey extends java.lang.Object implements java.io.SerializableKey for looking up registry metadata.- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistryKey(java.lang.String namespaceUri, java.lang.String... key)For path /a/b/c and property 'x', put inRegistryKey(java.lang.String namespaceUri, java.lang.String[] path, java.lang.String property)A constructor to specifically declare the path and property portions of the key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetNamespaceUri()java.lang.String[]getPath()java.lang.StringgetProperty()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
RegistryKey
public RegistryKey(java.lang.String namespaceUri, java.lang.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 thedefaultwill be used.key- the path elements followed by the property name.
-
RegistryKey
public RegistryKey(java.lang.String namespaceUri, java.lang.String[] path, java.lang.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 thedefaultwill be used.path- the path part of the keyproperty- the property name for the key. This may be null.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getNamespaceUri
public java.lang.String getNamespaceUri()
-
getPath
public java.lang.String[] getPath()
-
getProperty
public java.lang.String getProperty()
-
-