Class Sequence
java.lang.Object
org.mybatis.jpetstore.domain.Sequence
- All Implemented Interfaces:
Serializable
The Class Sequence.
- Author:
- Eduardo Macarron
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Sequence
public Sequence()Instantiates a new sequence. -
Sequence
Instantiates a new sequence.- Parameters:
name- the namenextId- the next id
-
-
Method Details
-
getName
-
setName
-
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
-