|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.SQLObject
ca.sqlpower.architect.SQLSequence
public class SQLSequence
A SQLObject that represents a sequence in a database. This is not yet a full-fledged SQLObject, because it does not have a place in the overall SQLObject tree, and it is not saved with the project. Its main purpose at this point is to exist temporarily during the DDL generation process. One day, the SQLSequence may be worked into the overall tree; however it is a feature only supported by a small number of platforms (only Oracle and PostgreSQL as far as we know) so it is not a high priority.
See SQLColumn.getAutoIncrementSequenceName() for more details on
how a sequence might come to exist.
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.SQLObject |
|---|
children, magicDisableCount, populated, undoEventListeners |
| Constructor Summary | |
|---|---|
SQLSequence(java.lang.String name)
Creates a new SQLSequence with the given name. |
|
| Method Summary | |
|---|---|
boolean |
allowsChildren()
Returns false. |
java.lang.Class<? extends SQLObject> |
getChildType()
Returns null because this type of object doesn't allow children. |
SQLObject |
getParent()
Returns null because this type of object doesn't have a parent. |
java.lang.String |
getShortDisplayName()
Returns the name of this SQLSequence. |
protected void |
populate()
Does nothing because this type of object is not reverse-engineered. |
protected void |
setParent(SQLObject parent)
Does nothing because this type of object doesn't have a parent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLSequence(java.lang.String name)
| Method Detail |
|---|
public boolean allowsChildren()
allowsChildren in class SQLObjectpublic java.lang.Class<? extends SQLObject> getChildType()
getChildType in class SQLObjectpublic SQLObject getParent()
getParent in class SQLObjectprotected void setParent(SQLObject parent)
setParent in class SQLObjectpublic java.lang.String getShortDisplayName()
getShortDisplayName in class SQLObject
protected void populate()
throws ArchitectException
populate in class SQLObjectArchitectException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||