org.hibernate.test.annotations.manytoone
Class Node

java.lang.Object
  extended by org.hibernate.test.annotations.manytoone.Node
All Implemented Interfaces:
Serializable

@Entity
public class Node
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Node()
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 NodePk getId()
           
 Node getParent()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setId(NodePk id)
           
 void setParent(Node parent)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getId

public NodePk getId()

setId

public void setId(NodePk id)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getParent

public Node getParent()

setParent

public void setParent(Node parent)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.