|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface DBTable
An DBTable as part of the Relational Database Model is specified by its
columns.
DBTableHelper| Nested Class Summary | |
|---|---|
static class |
DBTable.VAttr
|
| Method Summary | ||
|---|---|---|
List<DBForeignKey> |
getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags)
Gets the not null foreign keys of this this DBTable. |
|
List<DBForeignKey> |
getElementExistentialDependencyIn(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getElementExistentialDependencyIn and filters its return values according to the given stereotype value. |
|
List<DBForeignKey> |
getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags)
Gets the not null foreign keys referencing an DBUniqueKey of this this DBTable. |
|
List<DBForeignKey> |
getElementExistentialDependencyOut(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getElementExistentialDependencyOut and filters its return values according to the given stereotype value. |
|
|
getFirstLevelElements(Class<T> returnType,
K_CONTROL_OPTION... behaviourFlags)
The elements of the first level are all columns, unique keys and foreign keys that are not yet assigned to an DBMergedInstance. |
|
|
getFirstLevelElements(Class<T> returnType,
MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getFirstLevelElements and filters its return values according to the given stereotype value. |
|
List<DBTable> |
getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags)
All database tables referenced by a mandatory DBForeignKey of this DBTable. |
|
List<DBTable> |
getMandatoryReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getMandatoryReferencedTable and filters its return values according to the given stereotype value. |
|
List<DBTable> |
getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags)
All database tables that reference this DBTable using a mandatory DBForeignKey. |
|
List<DBTable> |
getMandatoryReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getMandatoryReferencingTable and filters its return values according to the given stereotype value. |
|
DBForeignKey |
getMaxOneForeignKey()
Gets the DBForeignKey which is maximum one. |
|
List<DBTable> |
getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags)
All database tables referenced by an optional DBForeignKey of this DBTable. |
|
List<DBTable> |
getOptionalReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getOptionalReferencedTable and filters its return values according to the given stereotype value. |
|
List<DBTable> |
getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags)
All database tables that reference this DBTable using an optional DBForeignKey. |
|
List<DBTable> |
getOptionalReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getOptionalReferencingTable and filters its return values according to the given stereotype value. |
|
List<DBTableColumn> |
getOwnedColumn(K_CONTROL_OPTION... behaviourFlags)
List of columns of this table. |
|
List<DBCheckConstraint> |
getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags)
List of check constraints owned by this DBTable. |
|
List<DBOptionTable> |
getOwnedDBOptionTable(K_CONTROL_OPTION... behaviourFlags)
All table options of this DBTable. |
|
List<DBSiblingConstraint> |
getOwnedDBSiblingConstraint(K_CONTROL_OPTION... behaviourFlags)
List of constraints (disjoint tables) owned by this database table. |
|
List<DBTrigger> |
getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags)
List of triggers of this DBTable. |
|
List<DBForeignKey> |
getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags)
List of foreign keys of this DBTable. |
|
List<DBIndex> |
getOwnedIndex(K_CONTROL_OPTION... behaviourFlags)
List of indices of this table. |
|
List<DBMergedTable> |
getOwnedMergedTable(K_CONTROL_OPTION... behaviourFlags)
List of merged tables of this table. |
|
List<DBUniqueKey> |
getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags)
List of keys of this DBTable. |
|
List<DBTable> |
getReferencedTable(K_CONTROL_OPTION... behaviourFlags)
All database tables referenced by a DBForeignKey of this DBTable. |
|
List<DBTable> |
getReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getReferencedTable and filters its return values according to the given stereotype value. |
|
List<DBTable> |
getReferencingTable(K_CONTROL_OPTION... behaviourFlags)
All database tables that reference this DBTable using a DBForeignKey. |
|
List<DBTable> |
getReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
The method calls getReferencingTable and filters its return values according to the given stereotype value. |
|
boolean |
hasMergedTable()
True, if this DBTable is has a DBMergedTable. |
|
boolean |
isSplittedByColumn()
If true, this DBTable was created by a split column command. |
|
boolean |
isWeak()
True, if this DBTable is weak. |
|
List<MEStereotypeAble> |
maintain()
Runs all maintaining methods for this DBTable in the following order:
maintainCreatePrimaryKey(...) |
|
DBUniqueKey |
maintainCreatePrimaryKey()
This maintaining method creates the primary key if it doesn't already exist. |
|
void |
setMergedTable(boolean value)
Set the value of Info HasMergedTable. |
|
void |
setWeak(boolean value)
Set the value of Info IsWeak. |
|
DBTable |
splitH()
Splits the selected DBTable into a new DBTable. |
|
| Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBColumnSet |
|---|
getOwnedSQLGeneric, getViewFrom |
| Methods inherited from interface de.mid.innovator.srv2api.icw2im.IMClassifier |
|---|
getAllAssignedConstraint, getAllAssignedConstraint, getDirectlyCheckConstraintAssign, getForeignKeyReferencingOwnedUniqueKey, getForeignKeyReferencingOwnedUniqueKey, getOwnedFeature, getOwnedGeneralizationSet, getOwnedIMConstraint, getOwnedIMTrigger, getOwnedKey, getOwnedProperty, getPrimaryKey, getUniqueKeyReferencedByDefault |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble |
|---|
getAssignedConstraint, getAssignedConstraint, getConstraintAssign |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble |
|---|
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType |
|---|
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble |
|---|
getVersionFile, getVersionList, getVersionListWithoutOpenInfo |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADOptionAble |
|---|
getOwnedOption, modifyOptionDlg |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble |
|---|
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble |
|---|
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble |
|---|
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble |
|---|
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble |
|---|
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement |
|---|
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble |
|---|
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEPackageAble |
|---|
getComponent, getManifest |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble |
|---|
getMENamespace |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble |
|---|
getUUID, setUUID |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement |
|---|
getMESupplierDependency, getMESupplierMappingDependency |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement |
|---|
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble |
|---|
delete |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble |
|---|
getAnnotation, getLogic, getLogic, getPresentationContext, getSection |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble |
|---|
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement |
|---|
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject |
|---|
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble |
|---|
getClientMappingDependency, getOutgoingConceptRealization, getProxyAsgProperty, getRealizedConcept, getRealizedConcept, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, replaceRealizedConcepts, setMapped, setRealizedConcept, setRequirementOfStakeholder |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble |
|---|
getOwnedComment |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble |
|---|
getValueReUseAble, setValueReUseAble |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble |
|---|
getAssignedComment, getAssignedComment, getCommentAssign |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble |
|---|
getReferenceContainer, setReferenceContainer |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble |
|---|
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble |
|---|
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble |
|---|
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment |
| Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBSQLObject |
|---|
getPrivilege, getReferencedSQLObject, getReferencingSQLObject, setPrivilege, setReferencedSQLObject, setReferencingSQLObject |
| Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBOptionAble |
|---|
getConfiguredOption, getOwnedDBOption |
| Method Detail |
|---|
List<DBForeignKey> getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBForeignKey> getElementExistentialDependencyIn(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBForeignKey> getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBUniqueKey of this this DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBForeignKey> getElementExistentialDependencyOut(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
<T extends MEModelElement> List<T> getFirstLevelElements(Class<T> returnType,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBMergedInstance.
The primary key and its columns belongs to first level elements, even if they are assigned to an instance.
returnType - Specifies the type of elements to be returned.behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
<T extends MEModelElement> List<T> getFirstLevelElements(Class<T> returnType,
MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
returnType - Specifies the type of elements to be returned.stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBForeignKey of this DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getMandatoryReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable using a mandatory DBForeignKey.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getMandatoryReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
DBForeignKey getMaxOneForeignKey()
throws InoNetException,
SrvErrorException
DBForeignKey which is maximum one.
This foreign key contains exactly the same columns as the primary key.
InoNetException
SrvErrorException
List<DBTable> getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBForeignKey of this DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getOptionalReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable using an optional DBForeignKey.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getOptionalReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTableColumn> getOwnedColumn(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBCheckConstraint> getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBOptionTable> getOwnedDBOptionTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBSiblingConstraint> getOwnedDBSiblingConstraint(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTrigger> getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBForeignKey> getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBIndex> getOwnedIndex(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBMergedTable> getOwnedMergedTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBUniqueKey> getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getReferencedTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBForeignKey of this DBTable.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getReferencedTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getReferencingTable(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
DBTable using a DBForeignKey.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<DBTable> getReferencingTable(MMStereotype stereotype,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
stereotype - The stereotype used to filter the result listbehaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
boolean hasMergedTable()
throws InoNetException,
SrvErrorException
DBTable is has a DBMergedTable.DBForeignKey merge methods.
InoNetException
SrvErrorException
boolean isSplittedByColumn()
throws InoNetException,
SrvErrorException
DBTable was created by a split column command.EREntity
as its referenced table.
InoNetException
SrvErrorException
boolean isWeak()
throws InoNetException,
SrvErrorException
DBTable is weak.
InoNetException
SrvErrorException
List<MEStereotypeAble> maintain()
throws InoNetException,
SrvErrorException
DBTable in the following order:
maintainCreatePrimaryKey(...)
InoNetException
SrvErrorException
DBUniqueKey maintainCreatePrimaryKey()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
void setMergedTable(boolean value)
throws InoNetException,
SrvErrorException
value - The value to be set.
InoNetException
SrvErrorException
void setWeak(boolean value)
throws InoNetException,
SrvErrorException
value - The value to be set.
InoNetException
SrvErrorException
DBTable splitH()
throws InoNetException,
SrvErrorException
DBTable into a new DBTable.
InoNetException
SrvErrorException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||