Package de.mid.innovator.srv2api.icw2db
Interface DBMergedInstance
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MEModelElement
The merge methods of
DBTable are creating a DBMergedTable
to keep information which was the assimilated table.
If you merge a table to unique key with a count ('n' greater than one),
there will be created a DBMergedInstance for each of 'n'
with a set of table columns.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<T extends MEModelElement>
List<T> getAllInstanceElements(Class<T> returnType, boolean mode, K_CONTROL_OPTION... behaviourFlags) Returns the list of all elements, assigned to thisDBMergedInstance.<T extends MEModelElement>
List<T> getAllInstanceElements(Class<T> returnType, MMStereotype stereotype, boolean mode, K_CONTROL_OPTION... behaviourFlags) The method calls getAllInstanceElements and filters its return values according to the given stereotype value.List of all foreign keys assigned to thisDBMergedInstance.Reference to theDBMergedTableof thisDBMergedInstance.List of all columns assigned to thisDBMergedInstance.List of all unique keys assigned to thisDBMergedInstance.voidsetForeignKey(List<? extends DBForeignKey> values) Set the value of Foreign Key ForeignKey.voidsetTableColumn(List<? extends DBTableColumn> values) Set the value of Foreign Key TableColumn.voidsetUniqueKey(List<? extends DBUniqueKey> values) Set the value of Foreign Key UniqueKey.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
Method Details
-
getAllInstanceElements
<T extends MEModelElement> List<T> getAllInstanceElements(Class<T> returnType, boolean mode, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Returns the list of all elements, assigned to thisDBMergedInstance. These elements are columns, unique keys or foreign keys.
If the boolean type value in boolean argument mode is true, the result list will be restricted to those elements, which have no other instance assignments. The restricted list contains all elements, which will be deleted, if you delete the instance.- Parameters:
returnType- Specifies the type of elements to be returned.mode- A value of type TBoolean that controls the behaviour of the underlying method. (see description)behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getAllInstanceElements
<T extends MEModelElement> List<T> getAllInstanceElements(Class<T> returnType, MMStereotype stereotype, boolean mode, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getAllInstanceElements and filters its return values according to the given stereotype value.- Parameters:
returnType- Specifies the type of elements to be returned.stereotype- The stereotype used to filter the result listmode- A value of type TBoolean that controls the behaviour of the underlying method. (see description)behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getTableColumn
List of all columns assigned to thisDBMergedInstance.- Throws:
InoNetExceptionSrvErrorException
-
setTableColumn
Set the value of Foreign Key TableColumn.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getForeignKey
List of all foreign keys assigned to thisDBMergedInstance.- Throws:
InoNetExceptionSrvErrorException
-
setForeignKey
Set the value of Foreign Key ForeignKey.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUniqueKey
List of all unique keys assigned to thisDBMergedInstance.- Throws:
InoNetExceptionSrvErrorException
-
setUniqueKey
Set the value of Foreign Key UniqueKey.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getOwningMergedTable
Reference to theDBMergedTableof thisDBMergedInstance.- Throws:
InoNetExceptionSrvErrorException
-