Package de.mid.innovator.srv2api.icw2db
Interface DBMergedInstance
-
- All Superinterfaces:
ADClientAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELObject
,ELUUIDAble
,MEModelElement
public interface DBMergedInstance extends MEModelElement, ELContAsgnAble
The merge methods ofDBTable
are creating aDBMergedTable
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 aDBMergedInstance
for each of 'n' with a set of table columns.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DBMergedInstance.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends MEModelElement>
java.util.List<T>getAllInstanceElements(java.lang.Class<T> returnType, boolean mode, K_CONTROL_OPTION... behaviourFlags)
Returns the list of all elements, assigned to thisDBMergedInstance
.<T extends MEModelElement>
java.util.List<T>getAllInstanceElements(java.lang.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.java.util.List<DBForeignKey>
getForeignKey()
List of all foreign keys assigned to thisDBMergedInstance
.DBMergedTable
getOwningMergedTable()
Reference to theDBMergedTable
of thisDBMergedInstance
.java.util.List<DBTableColumn>
getTableColumn()
List of all columns assigned to thisDBMergedInstance
.java.util.List<DBUniqueKey>
getUniqueKey()
List of all unique keys assigned to thisDBMergedInstance
.void
setForeignKey(java.util.List<? extends DBForeignKey> values)
Set the value of Foreign Key ForeignKey.void
setTableColumn(java.util.List<? extends DBTableColumn> values)
Set the value of Foreign Key TableColumn.void
setUniqueKey(java.util.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, getStartAnalysisDia
-
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.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
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.ELDeleteAble
delete
-
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.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
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
-
-
-
-
Method Detail
-
getAllInstanceElements
<T extends MEModelElement> java.util.List<T> getAllInstanceElements(java.lang.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:
InoNetException
SrvErrorException
-
getAllInstanceElements
<T extends MEModelElement> java.util.List<T> getAllInstanceElements(java.lang.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:
InoNetException
SrvErrorException
-
getTableColumn
java.util.List<DBTableColumn> getTableColumn() throws InoNetException, SrvErrorException
List of all columns assigned to thisDBMergedInstance
.- Throws:
InoNetException
SrvErrorException
-
setTableColumn
void setTableColumn(java.util.List<? extends DBTableColumn> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key TableColumn.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getForeignKey
java.util.List<DBForeignKey> getForeignKey() throws InoNetException, SrvErrorException
List of all foreign keys assigned to thisDBMergedInstance
.- Throws:
InoNetException
SrvErrorException
-
setForeignKey
void setForeignKey(java.util.List<? extends DBForeignKey> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ForeignKey.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getUniqueKey
java.util.List<DBUniqueKey> getUniqueKey() throws InoNetException, SrvErrorException
List of all unique keys assigned to thisDBMergedInstance
.- Throws:
InoNetException
SrvErrorException
-
setUniqueKey
void setUniqueKey(java.util.List<? extends DBUniqueKey> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key UniqueKey.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getOwningMergedTable
DBMergedTable getOwningMergedTable() throws InoNetException, SrvErrorException
Reference to theDBMergedTable
of thisDBMergedInstance
.- Throws:
InoNetException
SrvErrorException
-
-