|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.
Constructor Summary | |
PropertyId(NodeId parentId,
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)
|
QName |
getName()
Returns the qualified name of the property. |
NodeId |
getParentId()
Returns the identifier of the parent node. |
int |
hashCode()
Returns the hash code of this property identifier. |
String |
toString()
Returns the same as this.getParentId() + "/" + this.getName() |
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(NodeId parentId, QName propName)
parentId
- the id 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 NodeId getParentId()
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)
public String toString()
this.getParentId() + "/" + this.getName()
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |