de.mid.innovator.srv2api.icw2db
Interface DBTable

All Superinterfaces:
ADAccessAble, ADClientAble, ADFindAble, ADHistoryAble, ADLockAble, ADM2AttrModifyAble, ADOptionAble, ADReferenceAble, ADVersionAble, DBColumnSet, DBOptionAble, DBSQLObject, ELClassifier, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELPackageAble, ELRedefAble, ELType, ELUUIDAble, ELValueContainerAble, IMClassifier, MECommentAble, MEConstraintAble, MEModelElement, MENamedElement, MENamespaceAsgnAble, MEPackageAble, MEStereotypeAble, MMAttachmentAble, MMCommentContainerAble, MMLabelAble, MMLabelTextAttachmentAble, MMStereotypeAble, MMTextAble

public interface DBTable
extends DBColumnSet, DBOptionAble

An DBTable as part of the Relational Database Model is specified by its columns.

See Also:
DBTableHelper

Nested Class Summary
static class DBTable.VAttr
           
 
Method Summary
 List<DBForeignKey> getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags)
          Gets the not null foreign keys of this this DBTable.
 List<DBForeignKey> getElementExistentialDependencyIn(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getElementExistentialDependencyIn and filters its return values according to the given stereotype value.
 List<DBForeignKey> getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags)
          Gets the not null foreign keys referencing an DBUniqueKey of this this DBTable.
 List<DBForeignKey> getElementExistentialDependencyOut(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getElementExistentialDependencyOut and filters its return values according to the given stereotype value.
<T extends MEModelElement>
List<T>
getFirstLevelElements(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          The elements of the first level are all columns, unique keys and foreign keys that are not yet assigned to an DBMergedInstance.
<T extends MEModelElement>
List<T>
getFirstLevelElements(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getFirstLevelElements and filters its return values according to the given stereotype value.
 List<DBTable> getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables referenced by a mandatory DBForeignKey of this DBTable.
 List<DBTable> getMandatoryReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getMandatoryReferencedTable and filters its return values according to the given stereotype value.
 List<DBTable> getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables that reference this DBTable using a mandatory DBForeignKey.
 List<DBTable> getMandatoryReferencingTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getMandatoryReferencingTable and filters its return values according to the given stereotype value.
 DBForeignKey getMaxOneForeignKey()
          Gets the DBForeignKey which is maximum one.
 List<DBTable> getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables referenced by an optional DBForeignKey of this DBTable.
 List<DBTable> getOptionalReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getOptionalReferencedTable and filters its return values according to the given stereotype value.
 List<DBTable> getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables that reference this DBTable using an optional DBForeignKey.
 List<DBTable> getOptionalReferencingTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getOptionalReferencingTable and filters its return values according to the given stereotype value.
 List<DBTableColumn> getOwnedColumn(K_CONTROL_OPTION... behaviourFlags)
          List of columns of this table.
 List<DBCheckConstraint> getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags)
          List of check constraints owned by this DBTable.
 List<DBOptionTable> getOwnedDBOptionTable(K_CONTROL_OPTION... behaviourFlags)
          All table options of this DBTable.
 List<DBSiblingConstraint> getOwnedDBSiblingConstraint(K_CONTROL_OPTION... behaviourFlags)
          List of constraints (disjoint tables) owned by this database table.
 List<DBTrigger> getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags)
          List of triggers of this DBTable.
 List<DBForeignKey> getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags)
          List of foreign keys of this DBTable.
 List<DBIndex> getOwnedIndex(K_CONTROL_OPTION... behaviourFlags)
          List of indices of this table.
 List<DBMergedTable> getOwnedMergedTable(K_CONTROL_OPTION... behaviourFlags)
          List of merged tables of this table.
 List<DBUniqueKey> getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags)
          List of keys of this DBTable.
 List<DBTable> getReferencedTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables referenced by a DBForeignKey of this DBTable.
 List<DBTable> getReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getReferencedTable and filters its return values according to the given stereotype value.
 List<DBTable> getReferencingTable(K_CONTROL_OPTION... behaviourFlags)
          All database tables that reference this DBTable using a DBForeignKey.
 List<DBTable> getReferencingTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getReferencingTable and filters its return values according to the given stereotype value.
 boolean hasMergedTable()
          True, if this DBTable is has a DBMergedTable.
 boolean isSplittedByColumn()
          If true, this DBTable was created by a split column command.
 boolean isWeak()
          True, if this DBTable is weak.
 List<MEStereotypeAble> maintain()
          Runs all maintaining methods for this DBTable in the following order:
maintainCreatePrimaryKey(...)
 DBUniqueKey maintainCreatePrimaryKey()
          This maintaining method creates the primary key if it doesn't already exist.
 void setMergedTable(boolean value)
          Set the value of Info HasMergedTable.
 void setWeak(boolean value)
          Set the value of Info IsWeak.
 DBTable splitH()
          Splits the selected DBTable into a new DBTable.
 
Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBColumnSet
getOwnedSQLGeneric, getViewFrom
 
Methods inherited from interface de.mid.innovator.srv2api.icw2im.IMClassifier
getAllAssignedConstraint, getAllAssignedConstraint, getDirectlyCheckConstraintAssign, getForeignKeyReferencingOwnedUniqueKey, getForeignKeyReferencingOwnedUniqueKey, getOwnedFeature, getOwnedGeneralizationSet, getOwnedIMConstraint, getOwnedIMTrigger, getOwnedKey, getOwnedProperty, getPrimaryKey, getUniqueKeyReferencedByDefault
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELClassifier
getAssociation, getAssociation, getAssociationEndFirstTypedBySelf, getAssociationEndFirstTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelf, getAssociationEndTypedBySelf, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationNavigableFrom, getAssociationNavigableFrom, getAssociationOfSelfOrGeneralTransitive, getAssociationOfSelfOrGeneralTransitive, getAssociationTypedBySelf, getAssociationTypedBySelf, getClassifierViewGroup, getEffectiveRedefinerOfAssocEnd, getEffectiveRedefinerOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getGeneralDirect, getGeneralDirect, getGeneralGeneralizationSet, getGeneralGeneralizationSet, getGeneralization, getGeneralTransitive, getGeneralTransitive, getItemDefinition, getOwnedAndInheritedMember, getOwnedAndInheritedMember, getPropertyNavigableFrom, getPropertyNavigableFrom, getPropertyNavigableFromSelfOrGeneralTransitive, getPropertyNavigableFromSelfOrGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitiveNotAbstract, getSelfAndSpecificTransitiveNotAbstract, getSpecialization, getSpecificDirect, getSpecificDirect, getSpecificGeneralization, getSpecificGeneralizationSet, getSpecificGeneralizationSet, getSpecificTransitive, getSpecificTransitive, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getTypedCLStructureEntry, getTypedMaskField, getTypesOfEffectiveSubsetterOfAssocEnd, getTypesOfEffectiveSubsetterOfAssocEnd, getViewTransitive, getViewTransitive, isAbstract, isRoot, isSpecificTransitive, setAbstract
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
 
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.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
 
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.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEPackageAble
getComponent, getManifest
 
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.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.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.ELValueContainerAble
getValueReUseAble, setValueReUseAble
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
 
Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBSQLObject
getPrivilege, getReferencedSQLObject, getReferencingSQLObject, setPrivilege, setReferencedSQLObject, setReferencingSQLObject
 
Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBOptionAble
getConfiguredOption, getOwnedDBOption
 

Method Detail

getElementExistentialDependencyIn

List<DBForeignKey> getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags)
                                                     throws InoNetException,
                                                            SrvErrorException
Gets the not null foreign keys of this this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getElementExistentialDependencyIn

List<DBForeignKey> getElementExistentialDependencyIn(MMStereotype stereotype,
                                                     K_CONTROL_OPTION... behaviourFlags)
                                                     throws InoNetException,
                                                            SrvErrorException
The method calls getElementExistentialDependencyIn and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getElementExistentialDependencyOut

List<DBForeignKey> getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags)
                                                      throws InoNetException,
                                                             SrvErrorException
Gets the not null foreign keys referencing an DBUniqueKey of this this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getElementExistentialDependencyOut

List<DBForeignKey> getElementExistentialDependencyOut(MMStereotype stereotype,
                                                      K_CONTROL_OPTION... behaviourFlags)
                                                      throws InoNetException,
                                                             SrvErrorException
The method calls getElementExistentialDependencyOut and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getFirstLevelElements

<T extends MEModelElement> List<T> getFirstLevelElements(Class<T> returnType,
                                                         K_CONTROL_OPTION... behaviourFlags)
                                                     throws InoNetException,
                                                            SrvErrorException
The elements of the first level are all columns, unique keys and foreign keys that are not yet assigned to an DBMergedInstance. The primary key and its columns belongs to first level elements, even if they are assigned to an instance.

Parameters:
returnType - Specifies the type of elements to be returned.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getFirstLevelElements

<T extends MEModelElement> List<T> getFirstLevelElements(Class<T> returnType,
                                                         MMStereotype stereotype,
                                                         K_CONTROL_OPTION... behaviourFlags)
                                                     throws InoNetException,
                                                            SrvErrorException
The method calls getFirstLevelElements 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 list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getMandatoryReferencedTable

List<DBTable> getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
All database tables referenced by a mandatory DBForeignKey of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getMandatoryReferencedTable

List<DBTable> getMandatoryReferencedTable(MMStereotype stereotype,
                                          K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
The method calls getMandatoryReferencedTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getMandatoryReferencingTable

List<DBTable> getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags)
                                           throws InoNetException,
                                                  SrvErrorException
All database tables that reference this DBTable using a mandatory DBForeignKey.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getMandatoryReferencingTable

List<DBTable> getMandatoryReferencingTable(MMStereotype stereotype,
                                           K_CONTROL_OPTION... behaviourFlags)
                                           throws InoNetException,
                                                  SrvErrorException
The method calls getMandatoryReferencingTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getMaxOneForeignKey

DBForeignKey getMaxOneForeignKey()
                                 throws InoNetException,
                                        SrvErrorException
Gets the DBForeignKey which is maximum one. This foreign key contains exactly the same columns as the primary key.

Throws:
InoNetException
SrvErrorException

getOptionalReferencedTable

List<DBTable> getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags)
                                         throws InoNetException,
                                                SrvErrorException
All database tables referenced by an optional DBForeignKey of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOptionalReferencedTable

List<DBTable> getOptionalReferencedTable(MMStereotype stereotype,
                                         K_CONTROL_OPTION... behaviourFlags)
                                         throws InoNetException,
                                                SrvErrorException
The method calls getOptionalReferencedTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOptionalReferencingTable

List<DBTable> getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
All database tables that reference this DBTable using an optional DBForeignKey.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOptionalReferencingTable

List<DBTable> getOptionalReferencingTable(MMStereotype stereotype,
                                          K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
The method calls getOptionalReferencingTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOwnedColumn

List<DBTableColumn> getOwnedColumn(K_CONTROL_OPTION... behaviourFlags)
                                   throws InoNetException,
                                          SrvErrorException
List of columns of this table.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate column order in the table.

getOwnedDBCheckConstraint

List<DBCheckConstraint> getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags)
                                                  throws InoNetException,
                                                         SrvErrorException
List of check constraints owned by this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate constraint order in the table.

getOwnedDBOptionTable

List<DBOptionTable> getOwnedDBOptionTable(K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
All table options of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedDBSiblingConstraint

List<DBSiblingConstraint> getOwnedDBSiblingConstraint(K_CONTROL_OPTION... behaviourFlags)
                                                      throws InoNetException,
                                                             SrvErrorException
List of constraints (disjoint tables) owned by this database table.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate constraint order in the table.

getOwnedDBTrigger

List<DBTrigger> getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags)
                                  throws InoNetException,
                                         SrvErrorException
List of triggers of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate trigger order in the table.

getOwnedForeignKey

List<DBForeignKey> getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags)
                                      throws InoNetException,
                                             SrvErrorException
List of foreign keys of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate foreign key order in the table.

getOwnedIndex

List<DBIndex> getOwnedIndex(K_CONTROL_OPTION... behaviourFlags)
                            throws InoNetException,
                                   SrvErrorException
List of indices of this table.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate index order in the table.

getOwnedMergedTable

List<DBMergedTable> getOwnedMergedTable(K_CONTROL_OPTION... behaviourFlags)
                                        throws InoNetException,
                                               SrvErrorException
List of merged tables of this table.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedUniqueKey

List<DBUniqueKey> getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags)
                                    throws InoNetException,
                                           SrvErrorException
List of keys of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the list is sorted according to appropriate key order in the table.

getReferencedTable

List<DBTable> getReferencedTable(K_CONTROL_OPTION... behaviourFlags)
                                 throws InoNetException,
                                        SrvErrorException
All database tables referenced by a DBForeignKey of this DBTable.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getReferencedTable

List<DBTable> getReferencedTable(MMStereotype stereotype,
                                 K_CONTROL_OPTION... behaviourFlags)
                                 throws InoNetException,
                                        SrvErrorException
The method calls getReferencedTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getReferencingTable

List<DBTable> getReferencingTable(K_CONTROL_OPTION... behaviourFlags)
                                  throws InoNetException,
                                         SrvErrorException
All database tables that reference this DBTable using a DBForeignKey.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getReferencingTable

List<DBTable> getReferencingTable(MMStereotype stereotype,
                                  K_CONTROL_OPTION... behaviourFlags)
                                  throws InoNetException,
                                         SrvErrorException
The method calls getReferencingTable and filters its return values according to the given stereotype value.

Parameters:
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

hasMergedTable

boolean hasMergedTable()
                       throws InoNetException,
                              SrvErrorException
True, if this DBTable is has a DBMergedTable.
See DBForeignKey merge methods.

Throws:
InoNetException
SrvErrorException

isSplittedByColumn

boolean isSplittedByColumn()
                           throws InoNetException,
                                  SrvErrorException
If true, this DBTable was created by a split column command.
Such a table has a maximum one identifying foreign key, and the same requirement EREntity as its referenced table.

Throws:
InoNetException
SrvErrorException

isWeak

boolean isWeak()
               throws InoNetException,
                      SrvErrorException
True, if this DBTable is weak.
A DB table is called weak, if it owns at least one identifying foreign key!

Throws:
InoNetException
SrvErrorException

maintain

List<MEStereotypeAble> maintain()
                                throws InoNetException,
                                       SrvErrorException
Runs all maintaining methods for this DBTable in the following order:
maintainCreatePrimaryKey(...)

Throws:
InoNetException
SrvErrorException

maintainCreatePrimaryKey

DBUniqueKey maintainCreatePrimaryKey()
                                     throws InoNetException,
                                            SrvErrorException
This maintaining method creates the primary key if it doesn't already exist.
Returns the newly-created primary key or null.

Throws:
InoNetException
SrvErrorException

setMergedTable

void setMergedTable(boolean value)
                    throws InoNetException,
                           SrvErrorException
Set the value of Info HasMergedTable.

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

setWeak

void setWeak(boolean value)
             throws InoNetException,
                    SrvErrorException
Set the value of Info IsWeak.

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

splitH

DBTable splitH()
               throws InoNetException,
                      SrvErrorException
Splits the selected DBTable into a new DBTable.

Throws:
InoNetException
SrvErrorException