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.Serializable
Key for looking up registry metadata.
- See Also:
- Serialized Form
Constructor Summary |
RegistryKey(java.lang.String namespaceUri,
java.lang.String[] key)
For path /a/b/c and property 'x', put in |
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 the
default
will 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 the
default
will be used.path
- the path part of the keyproperty
- the property name for the key. This may be null.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getNamespaceUri
public java.lang.String getNamespaceUri()
getPath
public java.lang.String[] getPath()
getProperty
public java.lang.String getProperty()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.