|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.ItemData
public abstract class ItemData
Data object referenced by different ItemImpl
instances that
all represent the same item, i.e. items having the same ItemId
.
Constructor Summary | |
---|---|
protected |
ItemData(ItemId id)
Create a new instance of this class. |
protected |
ItemData(ItemState state,
ItemDefinition definition)
Create a new instance of this class. |
Method Summary | |
---|---|
ItemDefinition |
getDefinition()
Return the associated item definition. |
ItemId |
getId()
Return the id associated with this item. |
NodeId |
getParentId()
Return the parent id of this item. |
ItemState |
getState()
Return the associated item state. |
int |
getStatus()
Return the status. |
boolean |
isNode()
Return a flag indicating whether item is a node. |
protected void |
setDefinition(ItemDefinition definition)
Set the associated item definition. |
protected void |
setState(ItemState state)
Set the associated item state. |
protected void |
setStatus(int status)
Set the status. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ItemData(ItemState state, ItemDefinition definition)
state
- item statedefinition
- item definitionprotected ItemData(ItemId id)
id
- item idMethod Detail |
---|
public ItemState getState()
protected void setState(ItemState state)
state
- item statepublic ItemDefinition getDefinition()
protected void setDefinition(ItemDefinition definition)
definition
- item definitionpublic int getStatus()
protected void setStatus(int status)
status
- public boolean isNode()
true
if this item is a node;
false
otherwise.public ItemId getId()
public NodeId getParentId()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |