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 of DBTable are creating a DBMergedTable to keep information which was the assimilated table.

See Also:
DBMergedTableHelper

Nested Class Summary
static class DBMergedTable.VAttr
           
 
Method Summary
 int getCount()
          Number of instances of this DBMergedTable.
 K_DBMERGE_DIRECTION getDirection()
          Indicates wether the table was merged to foreign key or to unique key.
 List<DBMergedInstance> getOwnedInstance(K_CONTROL_OPTION... behaviourFlags)
          List of instances of this DBMergedTable.
 DBTable getOwningTable()
          Reference to the table of this DBMergedTable.
 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.
 
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.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.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, isCloneAbleElement, modifyStereotypePropertyValuesByName, setStereotype, setStereotypePropertyInfo
 
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.ELValueContainerAble
getValueReUseAble, setValueReUseAble
 
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.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
 
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.ELContainerAble
getCheckSetNotToLocalizeAttribute, getClientDependency, getNotToLocalizeAttribute, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedLocalizedValue, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, resetNotToLocalizeAttribute, setNotToLocalizeAttribute, sortContents
 
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.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 

Method Detail

getCount

int getCount()
             throws InoNetException,
                    SrvErrorException
Number of instances of this DBMergedTable.
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

getDirection

K_DBMERGE_DIRECTION getDirection()
                                 throws InoNetException,
                                        SrvErrorException
Indicates wether the table was merged to foreign key or to unique key.

Throws:
InoNetException
SrvErrorException

getOwnedInstance

List<DBMergedInstance> getOwnedInstance(K_CONTROL_OPTION... behaviourFlags)
                                        throws InoNetException,
                                               SrvErrorException
List of instances of this DBMergedTable.

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 this DBMergedTable.

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

setCount

void setCount(int value)
              throws InoNetException,
                     SrvErrorException
Set the value of Info Count.

Parameters:
value - The value to be set.
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

setSamePrimaryKey

void setSamePrimaryKey(boolean value)
                       throws InoNetException,
                              SrvErrorException
Set the value of Attribut HasSamePrimaryKey.

Parameters:
value - The value to be set.
Throws:
InoNetException
SrvErrorException