org.apache.jackrabbit.core.state.orm
Class ORMNodeState

java.lang.Object
  extended byorg.apache.jackrabbit.core.state.orm.ORMNodeState
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HibernateNodeState, OJBNodeState

public abstract class ORMNodeState
extends Object
implements Serializable

This class represents an copy of Jackrabbit's node state, in an ORM compatible format.

See Also:
Serialized Form

Field Summary
protected  String definitionId
           
protected  String nodeTypeName
           
protected  String parentUUID
           
protected  String uuid
           
 
Constructor Summary
ORMNodeState()
           
ORMNodeState(ItemId id)
           
ORMNodeState(NodeState state)
           
 
Method Summary
 boolean equals(Object obj)
           
 void fromPersistentNodeState(NodeState state)
           
abstract  Collection getChildNodeEntries()
           
 String getDefinitionId()
           
abstract  Collection getMixinTypeNames()
           
 String getNodeTypeName()
           
 String getParentUUID()
           
abstract  Collection getParentUUIDs()
           
abstract  Collection getPropertyEntries()
           
 String getUuid()
           
 int hashCode()
           
abstract  void setChildNodeEntries(Collection childNodeEntries)
           
 void setDefinitionId(String definitionId)
           
abstract  void setMixinTypeNames(Collection mixinTypeNames)
           
 void setNodeTypeName(String nodeTypeName)
           
 void setParentUUID(String parentUUID)
           
abstract  void setParentUUIDs(Collection parentUUIDs)
           
abstract  void setPropertyEntries(Collection propertyEntries)
           
 void setUuid(String uuid)
           
 void toPersistentNodeState(NodeState state)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uuid

protected String uuid

parentUUID

protected String parentUUID

nodeTypeName

protected String nodeTypeName

definitionId

protected String definitionId
Constructor Detail

ORMNodeState

public ORMNodeState()

ORMNodeState

public ORMNodeState(ItemId id)

ORMNodeState

public ORMNodeState(NodeState state)
Method Detail

fromPersistentNodeState

public void fromPersistentNodeState(NodeState state)

getUuid

public String getUuid()

getParentUUID

public String getParentUUID()

getNodeTypeName

public String getNodeTypeName()

getDefinitionId

public String getDefinitionId()

getChildNodeEntries

public abstract Collection getChildNodeEntries()

getPropertyEntries

public abstract Collection getPropertyEntries()

getMixinTypeNames

public abstract Collection getMixinTypeNames()

getParentUUIDs

public abstract Collection getParentUUIDs()

setUuid

public void setUuid(String uuid)

setParentUUID

public void setParentUUID(String parentUUID)

setNodeTypeName

public void setNodeTypeName(String nodeTypeName)

setDefinitionId

public void setDefinitionId(String definitionId)

setChildNodeEntries

public abstract void setChildNodeEntries(Collection childNodeEntries)

setPropertyEntries

public abstract void setPropertyEntries(Collection propertyEntries)

setMixinTypeNames

public abstract void setMixinTypeNames(Collection mixinTypeNames)

setParentUUIDs

public abstract void setParentUUIDs(Collection parentUUIDs)

toPersistentNodeState

public void toPersistentNodeState(NodeState state)

equals

public boolean equals(Object obj)

hashCode

public int hashCode()


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.