KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > springframework > samples > jpetstore > dao > ibatis > Sequence


1 package org.springframework.samples.jpetstore.dao.ibatis;
2
3 import java.io.Serializable JavaDoc;
4
5 public class Sequence implements Serializable JavaDoc {
6
7   /* Private Fields */
8
9   private String JavaDoc name;
10   private int nextId;
11
12   /* Constructors */
13
14   public Sequence() {
15   }
16
17   public Sequence(String JavaDoc name, int nextId) {
18     this.name = name;
19     this.nextId = nextId;
20   }
21
22   /* JavaBeans Properties */
23
24   public String JavaDoc getName() { return name; }
25   public void setName(String JavaDoc name) { this.name = name; }
26
27   public int getNextId() { return nextId; }
28   public void setNextId(int nextId) { this.nextId = nextId; }
29
30 }
31
Popular Tags