/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.test.id.uuid.sqlrep;
import java.util.UUID;

/**
 * TODO : javadoc
 *
 * @author Steve Ebersole
 */
public class Node {
	private UUID id;
	private String name;
	private Node parent;

	public Node() {
	}

	public Node(String name) {
		this.name = name;
	}

	public Node(String name, Node parent) {
		this.name = name;
		this.parent = parent;
	}

	public UUID getId() {
		return id;
	}

	public void setId(UUID id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Node getParent() {
		return parent;
	}

	public void setParent(Node parent) {
		this.parent = parent;
	}
}
