|
||||||||||
| 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,
ItemManager itemMgr)
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,
ItemManager itemMgr)
state - item stateitemMgr - item managerprotected ItemData(ItemId id)
id - item id| Method Detail |
|---|
public ItemState getState()
protected void setState(ItemState state)
state - item state
public ItemDefinition getDefinition()
throws RepositoryException
RepositoryException - if the definition cannot be retrieved.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 | |||||||||