public class SequenceImpl extends Object implements Sequence
Sequence
interface as simple POJO. If you have a fixed set of
Sequence
s you may want to use an Enum
instead. For a more extendable approach you can
define constants with instances of this class.Modifier and Type | Field and Description |
---|---|
private String |
name |
private String |
schema |
Constructor and Description |
---|
SequenceImpl(String name)
The constructor.
|
SequenceImpl(String schema,
String name)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
This method gets the name of the sequence.
|
String |
getSchema()
This method gets the database schema where the sequence is located.
|
String |
toString() |
private final String schema
getSchema()
public SequenceImpl(String schema, String name)
schema
- - see getSchema()
.name
- - see getName()
.Copyright © 2001–2014 mmm-Team. All rights reserved.