Package com.wisecoders.dbs.diagram.model
Class AbstractTable
java.lang.Object
com.wisecoders.dbs.diagram.model.AbstractUnit
com.wisecoders.dbs.diagram.model.AbstractTable
- All Implemented Interfaces:
SyncPrioritizable,Entity,TreeUnit,Unit,Comparable<AbstractUnit>
Entities are representable. They store the attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface com.wisecoders.dbs.dbms.sync.engine.nodes.SyncPrioritizable
CHANGE, COMMENT, CREATE_CLUSTERED_INDEX, CREATE_COLUMNS, CREATE_CONSTRAINT, CREATE_FOREIGN_KEY, CREATE_FUNCTIONS, CREATE_INDEX, CREATE_PLSQL, CREATE_SCHEMA, CREATE_SEQUENCES, CREATE_TABLES, CREATE_TRIGGERS, CREATE_USER_DATA_TYPES, CREATE_VIEWS, DROP, DROP_CONSTRAINT, DROP_FOREIGN_KEY, DROP_LAST, DROP_PLSQL, DROP_VIEW, FINAL, NO_PRIORITY, RENAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTable(String name) The constructor is called by the parent Folder -
Method Summary
Modifier and TypeMethodDescriptionabstract ColumncreateColumn(String name, DataType type) abstract ForeignKeycreateRelation(String name) getChildEntityByPath(String name) getColumnByNameOrPath(String name) abstract StringgetDbId()intabstract Folder<ForeignKey>abstract SchemaintbooleanbooleanbooleanbooleanisReferredInString(String someName) abstract booleanisView()ref()voidsetSyncPriority(int syncPriority) Methods inherited from class com.wisecoders.dbs.diagram.model.AbstractUnit
compareTo, fixNull, getByName, getByName, getChildAt, getChildrenCount, getComment, getCommentNotNull, getCommentTag, getCommentTags, getDefaultKey, getDisplayName, getKey, getName, getParent, getParentEntity, getPlainName, getPropertyAddOnFolder, getString, getSymbolicGlyph, getSymbolicIcon, getSymbolicName, getSyncFolders, getTickId, getTouchId, getUnitProperty, has, is, is, isMarkedForDeletion, isVirtual, markForDeletion, matches, refresh, removeUnitProperty, rename, sameAs, sameAs, setComment, setCommentTag, setCommentTags, setTouchId, setUnitProperty, setVirtual, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.wisecoders.dbs.diagram.model.Entity
getName, isVirtual, refresh, renameMethods inherited from interface com.wisecoders.dbs.diagram.model.TreeUnit
getByName, getChildAt, getChildrenCount, getParent, getTickId, getTouchId, getUnitProperty, setTouchIdMethods inherited from interface com.wisecoders.dbs.diagram.model.Unit
getComment, getCommentTag, getCommentTags, getDisplayName, getParentEntity, getSymbolicName, is, isMarkedForDeletion, markForDeletion, setComment, setCommentTag, setCommentTags
-
Field Details
-
importedRelations
-
triggers
-
-
Constructor Details
-
AbstractTable
The constructor is called by the parent Folder- Parameters:
name- of the unit
-
-
Method Details
-
getChildEntityByPath
-
getColumnByNameOrPath
-
isView
public abstract boolean isView() -
getDbId
-
isChildEntity
public boolean isChildEntity()- Specified by:
isChildEntityin interfaceEntity
-
isChildEntityArray
public boolean isChildEntityArray()- Specified by:
isChildEntityArrayin interfaceEntity
-
getSchema
-
createColumn
-
getNameWithSchemaName
- Specified by:
getNameWithSchemaNamein interfaceEntity
-
getAttributes
- Specified by:
getAttributesin interfaceEntity
-
getRelations
- Specified by:
getRelationsin interfaceEntity
-
getImportedRelations
- Specified by:
getImportedRelationsin interfaceEntity
-
getEntity
-
createRelation
-
isReferredInString
-
hasOneColumnPk
public boolean hasOneColumnPk() -
ref
- Specified by:
refin interfaceUnit- Overrides:
refin classAbstractUnit
-
getSyncPriority
public int getSyncPriority()- Specified by:
getSyncPriorityin interfaceSyncPrioritizable
-
setSyncPriority
public void setSyncPriority(int syncPriority) - Specified by:
setSyncPriorityin interfaceSyncPrioritizable
-
getDefaultSyncPriority
public int getDefaultSyncPriority()- Specified by:
getDefaultSyncPriorityin interfaceSyncPrioritizable
-