KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > demo > icare > model > Entity


1 package org.objectweb.petals.demo.icare.model;
2
3 /**
4  * The class inherited by all entities (which contains the id, used as primary key)
5  * @author Cristian Spiescu
6  * @since 15.01.2007
7  */

8 public class Entity
9 {
10     private long id;
11
12     public long getId() {
13         return id;
14     }
15
16     public void setId(long id) {
17         this.id = id;
18     }
19     
20 }
21
Popular Tags