|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.metadata.Sequence
public class Sequence
Provides the parameters needed to maintain an automatically generated primary key for the table rows.
Id's are generated from sequences and are never reused. That is, for a given table an id value identifies exactly one row, even past the lifetime of the row.
Multiple class definitions may use the same sequence.
IdField| Constructor Summary | |
|---|---|
Sequence(java.lang.String schemaName)
Creates a new Sequence. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
Module |
getModule()
Returns the module in which the SQL entity occurs. |
java.lang.String |
getSchemaName()
Returns the name of the sequence used in the database schema. |
int |
hashCode()
|
void |
setModule(Module module)
Sets the owning module of this SQL entity. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sequence(java.lang.String schemaName)
Sequence.
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final Module getModule()
getModule in interface SqlEntitypublic void setModule(Module module)
setModule in interface SqlEntitypublic final java.lang.String getSchemaName()
getSchemaName in interface SqlEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||