Package de.mid.innovator.srv2api.icw2db
Interface DBMergedTable
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELUUIDAble,ELValueContainerAble,MEModelElement,MENamedElement,MENamespaceAsgnAble,MEStereotypeAble,METermAble,MMCommentContainerAble,MMStereotypeAble
The merge methods of
DBTable are creating a DBMergedTable
to keep information which was the assimilated table.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Indicates wether the table was merged to foreign key or to unique key.getOwnedInstance(K_CONTROL_OPTION... behaviourFlags) List of instances of thisDBMergedTable.Reference to the table of thisDBMergedTable.Returns all subordinate merged tables that are determined by evaluating the mapping dependencies referencing elements of the Entity/Relationship Model.getSubordinateMergedTables(MMStereotype stereotype) The method calls getSubordinateMergedTables and filters its return values according to the given stereotype value.booleanIf true, the merging foreign key was identifying and max one.voidsetCount(int value) Set the value of Info Count.voidsetDirection(K_DBMERGE_DIRECTION value) Set the value of Attribut Direction.voidsetSamePrimaryKey(boolean value) Set the value of Attribut HasSamePrimaryKey.This inverse operation of the merge command documented by thisDBMergedTablesplits theDBTableinto two tables.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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods 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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods 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.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods 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, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessageMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Method Details
-
getDirection
Indicates wether the table was merged to foreign key or to unique key.- Throws:
InoNetExceptionSrvErrorException
-
setDirection
Set the value of Attribut Direction.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
hasSamePrimaryKey
If true, the merging foreign key was identifying and max one. So the primary key of the merged table was projected to the primary key of the modified table, and all referencing foreign keys were redirected to that primary key.- Throws:
InoNetExceptionSrvErrorException
-
setSamePrimaryKey
Set the value of Attribut HasSamePrimaryKey.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCount
Number of instances of thisDBMergedTable.
Increase this number will create instances. And for each new instance new columns will be created according to the first instance.
Decrease this number will delete instances with its assigned table columns.- Throws:
InoNetExceptionSrvErrorException
-
setCount
Set the value of Info Count.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSubordinateMergedTables
Returns all subordinate merged tables that are determined by evaluating the mapping dependencies referencing elements of the Entity/Relationship Model.- Throws:
InoNetExceptionSrvErrorException
-
getSubordinateMergedTables
List<DBMergedTable> getSubordinateMergedTables(MMStereotype stereotype) throws InoNetException, SrvErrorException The method calls getSubordinateMergedTables and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
split
This inverse operation of the merge command documented by thisDBMergedTablesplits theDBTableinto two tables. In addition, all merged tables from the argument are taken to the new table.- Parameters:
seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
getOwnedInstance
List<DBMergedInstance> getOwnedInstance(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of instances of thisDBMergedTable.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- The list is sorted by the order number of instances. If the count of the merged table decreases, the instances with higher order number will be deleted first.
-
getOwningTable
Reference to the table of thisDBMergedTable.- Throws:
InoNetExceptionSrvErrorException
-