Class Sequence

java.lang.Object
org.mybatis.jpetstore.domain.Sequence
All Implemented Interfaces:
Serializable

public class Sequence extends Object implements Serializable
The Class Sequence.
Author:
Eduardo Macarron
See Also:
  • Constructor Details

    • Sequence

      public Sequence()
      Instantiates a new sequence.
    • Sequence

      public Sequence(String name, int nextId)
      Instantiates a new sequence.
      Parameters:
      name - the name
      nextId - the next id
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the name
    • getNextId

      public int getNextId()
      Gets the next id.
      Returns:
      the next id
    • setNextId

      public void setNextId(int nextId)
      Sets the next id.
      Parameters:
      nextId - the next id