KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > ejb > test > ops > NumberedNode


1 //$Id: NumberedNode.java,v 1.2 2005/07/09 20:04:44 epbernard Exp $
2
package org.hibernate.ejb.test.ops;
3
4 /**
5  * @author Gavin King
6  */

7 public class NumberedNode extends Node {
8
9     private long id;
10
11     public NumberedNode() {
12         super();
13     }
14
15
16     public NumberedNode(String JavaDoc name) {
17         super( name );
18     }
19
20     public long getId() {
21         return id;
22     }
23
24     public void setId(long id) {
25         this.id = id;
26     }
27 }
28
Popular Tags