FileDocCategorySizeDatePackage
Sequence.javaAPI DocExample625Thu Dec 04 08:19:26 GMT 2003org.springframework.samples.jpetstore.dao.ibatis

Sequence.java

package org.springframework.samples.jpetstore.dao.ibatis;

import java.io.Serializable;

public class Sequence implements Serializable {

  /* Private Fields */

  private String name;
  private int nextId;

  /* Constructors */

  public Sequence() {
  }

  public Sequence(String name, int nextId) {
    this.name = name;
    this.nextId = nextId;
  }

  /* JavaBeans Properties */

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

  public int getNextId() { return nextId; }
  public void setNextId(int nextId) { this.nextId = nextId; }

}