Package de.mid.innovator.srv2api.icw2db
Interface DBTable
-
- All Superinterfaces:
ADAccessAble
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADLockAble
,ADM2AttrModifyAble
,ADOptionAble
,ADReferenceAble
,ADVersionAble
,DBColumnSet
,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
- See Also:
DBTableHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DBTable.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<DBForeignKey>
getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags)
Gets the not null foreign keys of this thisDBTable
.java.util.List<DBForeignKey>
getElementExistentialDependencyIn(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getElementExistentialDependencyIn and filters its return values according to the given stereotype value.java.util.List<DBForeignKey>
getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags)
java.util.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>
java.util.List<T>getFirstLevelElements(java.lang.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 anDBMergedInstance
.<T extends MEModelElement>
java.util.List<T>getFirstLevelElements(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getFirstLevelElements and filters its return values according to the given stereotype value.IMClassifier
getLeadingEntity()
Returns the leadingEREntity
of this table.java.util.List<DBTable>
getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBTable>
getMandatoryReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getMandatoryReferencedTable and filters its return values according to the given stereotype value.java.util.List<DBTable>
getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags)
java.util.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 theDBForeignKey
which is maximum one.java.util.List<DBTable>
getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBTable>
getOptionalReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getOptionalReferencedTable and filters its return values according to the given stereotype value.java.util.List<DBTable>
getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBTable>
getOptionalReferencingTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getOptionalReferencingTable and filters its return values according to the given stereotype value.java.util.List<DBTableColumn>
getOwnedColumn(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBCheckConstraint>
getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags)
List of check constraints owned by thisDBTable
.java.util.List<DBSiblingConstraint>
getOwnedDBSiblingConstraint(K_CONTROL_OPTION... behaviourFlags)
List of constraints (disjoint tables) owned by this database table.java.util.List<DBTrigger>
getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBForeignKey>
getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags)
List of foreign keys of thisDBTable
.java.util.List<DBIndex>
getOwnedIndex(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBMergedTable>
getOwnedMergedTable(K_CONTROL_OPTION... behaviourFlags)
List of merged tables of this table.java.util.List<DBUniqueKey>
getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBTable>
getReferencedTable(K_CONTROL_OPTION... behaviourFlags)
java.util.List<DBTable>
getReferencedTable(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getReferencedTable and filters its return values according to the given stereotype value.java.util.List<DBTable>
getReferencingTable(K_CONTROL_OPTION... behaviourFlags)
java.util.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()
boolean
isSplittedByColumn()
boolean
isWeak()
True, if thisDBTable
is weak.
A DB table is called weak, if it owns at least one identifying foreign key!java.util.List<MEStereotypeAble>
maintain()
DBUniqueKey
maintainCreatePrimaryKey()
This maintaining method creates the primary key if it doesn't already exist.
Returns the newly-created primary key or null.void
setMergedTable(boolean value)
Set the value of Info HasMergedTable.void
setWeak(boolean value)
Set the value of Info IsWeak.DBTable
splitH()
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
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.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBColumnSet
getOwnedSQLGeneric, getViewFrom
-
Methods inherited from interface de.mid.innovator.srv2api.icw2db.DBSQLObject
getPrivilege, getReferencedSQLObject, getReferencingSQLObject, setPrivilege, setReferencedSQLObject, setReferencingSQLObject
-
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.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.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.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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
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.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.icw2im.IMClassifier
getAllAssignedConstraint, getAllAssignedConstraint, getDirectlyCheckConstraintAssign, getForeignKeyReferencingOwnedUniqueKey, getForeignKeyReferencingOwnedUniqueKey, getOwnedFeature, getOwnedGeneralizationSet, getOwnedIMConstraint, getOwnedIMTrigger, getOwnedKey, getOwnedProperty, getPrimaryKey, getUniqueKeyReferencedByDefault
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
-
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.MEPackageAble
getComponent, getManifest
-
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.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
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.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
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
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
isWeak
boolean isWeak() throws InoNetException, SrvErrorException
True, if thisDBTable
is weak.
A DB table is called weak, if it owns at least one identifying foreign key!- 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
-
hasMergedTable
boolean hasMergedTable() throws InoNetException, SrvErrorException
- 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
-
isSplittedByColumn
boolean isSplittedByColumn() throws InoNetException, SrvErrorException
If true, thisDBTable
was created by a split column command.
Such a table has a maximum one identifying foreign key, and the same requirementEREntity
as its referenced table.- Throws:
InoNetException
SrvErrorException
-
getReferencedTable
java.util.List<DBTable> getReferencedTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getReferencedTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getMandatoryReferencedTable
java.util.List<DBTable> getMandatoryReferencedTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getMandatoryReferencedTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOptionalReferencedTable
java.util.List<DBTable> getOptionalReferencedTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOptionalReferencedTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getReferencingTable
java.util.List<DBTable> getReferencingTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getReferencingTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getMandatoryReferencingTable
java.util.List<DBTable> getMandatoryReferencingTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getMandatoryReferencingTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOptionalReferencingTable
java.util.List<DBTable> getOptionalReferencingTable(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOptionalReferencingTable
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getMaxOneForeignKey
DBForeignKey getMaxOneForeignKey() throws InoNetException, SrvErrorException
Gets theDBForeignKey
which is maximum one. This foreign key contains exactly the same columns as the primary key.- Throws:
InoNetException
SrvErrorException
-
getFirstLevelElements
<T extends MEModelElement> java.util.List<T> getFirstLevelElements(java.lang.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 anDBMergedInstance
. 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> java.util.List<T> getFirstLevelElements(java.lang.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getElementExistentialDependencyIn
java.util.List<DBForeignKey> getElementExistentialDependencyIn(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Gets the not null foreign keys of this thisDBTable
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getElementExistentialDependencyIn
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getElementExistentialDependencyOut
java.util.List<DBForeignKey> getElementExistentialDependencyOut(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getElementExistentialDependencyOut
java.util.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getLeadingEntity
IMClassifier getLeadingEntity() throws InoNetException, SrvErrorException
Returns the leadingEREntity
of this table. The leading entity is the only one entity which is the target of aMEMappingDependency
owned by this table, but not the target of a mapping dependency owned by aDBMergedTable
in this table.- Throws:
InoNetException
SrvErrorException
-
maintain
java.util.List<MEStereotypeAble> maintain() throws InoNetException, SrvErrorException
- 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
-
splitH
DBTable splitH() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
getOwnedColumn
java.util.List<DBTableColumn> getOwnedColumn(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- 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.
-
getOwnedIndex
java.util.List<DBIndex> getOwnedIndex(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- 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.
-
getOwnedUniqueKey
java.util.List<DBUniqueKey> getOwnedUniqueKey(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- 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.
-
getOwnedForeignKey
java.util.List<DBForeignKey> getOwnedForeignKey(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
List of foreign keys of thisDBTable
.- 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.
-
getOwnedDBTrigger
java.util.List<DBTrigger> getOwnedDBTrigger(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- 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.
-
getOwnedDBCheckConstraint
java.util.List<DBCheckConstraint> getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
List of check constraints owned by thisDBTable
.- 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.
-
getOwnedMergedTable
java.util.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.
-
getOwnedDBSiblingConstraint
java.util.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.
-
-