Purpose: Allow a generic way of creating sequences on the different platforms, and allow optional parameters to be specified.
| Modifier and Type | Field and Description |
|---|---|
| protected Sequence |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public TableDefinition | |
| public abstract boolean | |
| public void | createOnDatabase(AbstractSession session)
Overrides org. |
| public boolean | |
| public boolean |
| sequence | back to summary |
|---|---|
| protected Sequence sequence | |
| SequenceDefinition | back to summary |
|---|---|
| protected SequenceDefinition(String name) | |
| SequenceDefinition | back to summary |
|---|---|
| protected SequenceDefinition(Sequence sequence) | |
| alter | back to summary |
|---|---|
| public void alter(AbstractSession session, Writer writer) throws ValidationException INTERNAL: Execute the SQL required to alter sequence. By default does nothing. | |
| alterOnDatabase | back to summary |
|---|---|
| public void alterOnDatabase(AbstractSession session) throws EclipseLinkException INTERNAL: By default does nothing. | |
| buildTableDefinition | back to summary |
|---|---|
| public TableDefinition buildTableDefinition() INTERNAL: Return a TableDefinition | |
| checkIfExist | back to summary |
|---|---|
| public abstract boolean checkIfExist(AbstractSession session) throws DatabaseException INTERAL: Verify whether the sequence exists. | |
| createOnDatabase | back to summary |
|---|---|
| public void createOnDatabase(AbstractSession session) throws EclipseLinkException Overrides org. INTERNAL: Creates this sequence definition on the database. If it already exists, the method will attempt to alter it based on what the platform supports.
| |
| isAlterSupported | back to summary |
|---|---|
| public boolean isAlterSupported(AbstractSession session) INTERNAL: Indicates whether alter is supported | |
| isTableSequenceDefinition | back to summary |
|---|---|
| public boolean isTableSequenceDefinition() INTERNAL: | |