|
||||||||||
| 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
public class 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,
Name 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(java.lang.Object obj)
|
Name |
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. |
java.lang.String |
toString()
Returns the same as this.getParentId() + "/" + this.getName() |
static PropertyId |
valueOf(java.lang.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,
Name propName)
parentId - the id of the parent nodepropName - qualified name of the property| Method Detail |
|---|
public boolean denotesNode()
false as this class represents a property
identifier, not a node identifier.
denotesNode in class ItemIdfalseItemId.denotesNode()public NodeId getParentId()
public Name getName()
public static PropertyId valueOf(java.lang.String s)
throws java.lang.IllegalArgumentException
toString() method of this class.
s - a String containing the PropertyId
representation to be parsed.
PropertyId represented by the argument
java.lang.IllegalArgumentException - if the specified string can not be parsed
as a PropertyId.toString()public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
this.getParentId() + "/" + this.getName()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||