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
,MMCommentContainerAble
,MMStereotypeAble
public interface DBMergedTable extends ADHistoryAble, MEStereotypeAble, MENamespaceAsgnAble
The merge methods ofDBTable
are creating aDBMergedTable
to keep information which was the assimilated table.- See Also:
DBMergedTableHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DBMergedTable.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCount()
K_DBMERGE_DIRECTION
getDirection()
Indicates wether the table was merged to foreign key or to unique key.java.util.List<DBMergedInstance>
getOwnedInstance(K_CONTROL_OPTION... behaviourFlags)
List of instances of thisDBMergedTable
.DBTable
getOwningTable()
Reference to the table of thisDBMergedTable
.java.util.List<DBMergedTable>
getSubordinateMergedTables(K_CONTROL_OPTION... behaviourFlags)
Returns all subordinate merged tables that are determined by evaluating the mapping dependencies referencing elements of the Entity/Relationship Model.java.util.List<DBMergedTable>
getSubordinateMergedTables(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSubordinateMergedTables and filters its return values according to the given stereotype value.boolean
hasSamePrimaryKey()
If true, the merging foreign key was identifying and max one.void
setCount(int value)
Set the value of Info Count.void
setDirection(K_DBMERGE_DIRECTION value)
Set the value of Attribut Direction.void
setSamePrimaryKey(boolean value)
Set the value of Attribut HasSamePrimaryKey.DBTable
split(java.util.List<? extends ELElement> seq)
This inverse operation of the merge command documented by thisDBMergedTable
splits theDBTable
into two tables.-
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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
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.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.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
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.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods 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 Detail
-
getDirection
K_DBMERGE_DIRECTION getDirection() throws InoNetException, SrvErrorException
Indicates wether the table was merged to foreign key or to unique key.- Throws:
InoNetException
SrvErrorException
-
setDirection
void setDirection(K_DBMERGE_DIRECTION value) throws InoNetException, SrvErrorException
Set the value of Attribut Direction.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
hasSamePrimaryKey
boolean hasSamePrimaryKey() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
setSamePrimaryKey
void setSamePrimaryKey(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut HasSamePrimaryKey.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getCount
int getCount() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
setCount
void setCount(int value) throws InoNetException, SrvErrorException
Set the value of Info Count.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getSubordinateMergedTables
java.util.List<DBMergedTable> getSubordinateMergedTables(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns all subordinate merged tables that are determined by evaluating the mapping dependencies referencing elements of the Entity/Relationship Model.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSubordinateMergedTables
java.util.List<DBMergedTable> getSubordinateMergedTables(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) 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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
split
DBTable split(java.util.List<? extends ELElement> seq) throws InoNetException, SrvErrorException
This inverse operation of the merge command documented by thisDBMergedTable
splits theDBTable
into two tables. In addition, all merged tables from the argument are taken to the new table.- Parameters:
seq
- List of ELElement- Throws:
InoNetException
SrvErrorException
-
getOwnedInstance
java.util.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:
InoNetException
SrvErrorException
- 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
DBTable getOwningTable() throws InoNetException, SrvErrorException
Reference to the table of thisDBMergedTable
.- Throws:
InoNetException
SrvErrorException
-
-