FileDocCategorySizeDatePackage
NumberedNode.javaAPI DocHibernate 3.2.51350Sun Jun 19 22:19:34 BST 2005org.hibernate.test.ops

NumberedNode

public class NumberedNode extends Object
author
Gavin King

Fields Summary
private long
id
private String
name
private NumberedNode
parent
private Set
children
private String
description
private Date
created
Constructors Summary
public NumberedNode()


	  
		super();
	
public NumberedNode(String name)

		this.name = name;
		created = new Date();
	
Methods Summary
public org.hibernate.test.ops.NumberedNodeaddChild(org.hibernate.test.ops.NumberedNode child)

		children.add(child);
		child.setParent(this);
		return this;
	
public java.util.SetgetChildren()

		return children;
	
public java.util.DategetCreated()

		return created;
	
public java.lang.StringgetDescription()

		return description;
	
public longgetId()

		return id;
	
public java.lang.StringgetName()

		return name;
	
public org.hibernate.test.ops.NumberedNodegetParent()

		return parent;
	
public voidsetChildren(java.util.Set children)

		this.children = children;
	
public voidsetCreated(java.util.Date created)

		this.created = created;
	
public voidsetDescription(java.lang.String description)

		this.description = description;
	
public voidsetId(long id)

		this.id = id;
	
public voidsetName(java.lang.String name)

		this.name = name;
	
public voidsetParent(org.hibernate.test.ops.NumberedNode parent)

		this.parent = parent;