org.alfresco.repo.domain.hibernate
Class NodeStatusImpl

java.lang.Object
  extended by org.alfresco.repo.domain.hibernate.NodeStatusImpl
All Implemented Interfaces:
java.io.Serializable, NodeStatus

public class NodeStatusImpl
extends java.lang.Object
implements NodeStatus, java.io.Serializable

Hibernate implementation of a node status

See Also:
Serialized Form

Constructor Summary
NodeStatusImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 NodeKey getKey()
           
 Node getNode()
           
 Transaction getTransaction()
           
 java.lang.Long getVersion()
           
 int hashCode()
           
 boolean isDeleted()
           
 void setKey(NodeKey key)
           
 void setNode(Node node)
           
 void setTransaction(Transaction transaction)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeStatusImpl

public NodeStatusImpl()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getKey

public NodeKey getKey()
Specified by:
getKey in interface NodeStatus
Returns:
Returns the unique key for this node status

setKey

public void setKey(NodeKey key)
Specified by:
setKey in interface NodeStatus
Parameters:
key - the unique key

getVersion

public java.lang.Long getVersion()
Specified by:
getVersion in interface NodeStatus
Returns:
Returns the current version number

getNode

public Node getNode()
Specified by:
getNode in interface NodeStatus

setNode

public void setNode(Node node)
Specified by:
setNode in interface NodeStatus

getTransaction

public Transaction getTransaction()
Specified by:
getTransaction in interface NodeStatus

setTransaction

public void setTransaction(Transaction transaction)
Specified by:
setTransaction in interface NodeStatus

isDeleted

public boolean isDeleted()
Specified by:
isDeleted in interface NodeStatus


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.