|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.ItemId
org.apache.jackrabbit.core.PropertyId
Property identifier. An instance of this class identifies a single property using the UUID of the parent node and the qualified name of the property. Once created a property identifier instance is immutable.
Field Summary |
Fields inherited from class org.apache.jackrabbit.core.ItemId |
hash |
Constructor Summary | |
PropertyId(String parentUUID,
QName propName)
Creates a property identifier instance for the identified property. |
Method Summary | |
boolean |
denotesNode()
Returns false as this class represents a property
identifier, not a node identifier. |
boolean |
equals(Object obj)
Compares property identifiers for equality. |
QName |
getName()
Returns the qualified name of the property. |
String |
getParentUUID()
Returns the UUID of the parent node. |
int |
hashCode()
Returns the hash code of this property identifier. |
String |
toString()
Returns a string representation of this property identifier. |
static PropertyId |
valueOf(String s)
Returns a property identifier instance holding the value of the specified string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PropertyId(String parentUUID, QName propName)
parentUUID
- UUID of the parent nodepropName
- qualified name of the propertyMethod Detail |
public boolean denotesNode()
false
as this class represents a property
identifier, not a node identifier.
denotesNode
in class ItemId
false
ItemId.denotesNode()
public String getParentUUID()
public QName getName()
public static PropertyId valueOf(String s) throws IllegalArgumentException
toString()
method of this class.
s
- a String
containing the PropertyId
representation to be parsed.
PropertyId
represented by the argument
IllegalArgumentException
- if the specified string can not be parsed
as a PropertyId
.toString()
public boolean equals(Object obj)
obj
- other object
true
if the given object is a property identifier
instance that identifies the same property as this identifier,
false
otherwiseObject.equals(Object)
public String toString()
Object.toString()
public int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |