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 classDBTable.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.IMClassifiergetLeadingEntity()Returns the leadingEREntityof 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.DBForeignKeygetMaxOneForeignKey()Gets theDBForeignKeywhich 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.booleanhasMergedTable()booleanisSplittedByColumn()booleanisWeak()True, if thisDBTableis weak.
A DB table is called weak, if it owns at least one identifying foreign key!java.util.List<MEStereotypeAble>maintain()DBUniqueKeymaintainCreatePrimaryKey()This maintaining method creates the primary key if it doesn't already exist.
Returns the newly-created primary key or null.voidsetMergedTable(boolean value)Set the value of Info HasMergedTable.voidsetWeak(boolean value)Set the value of Info IsWeak.DBTablesplitH()-
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, SrvErrorExceptionTrue, if thisDBTableis weak.
A DB table is called weak, if it owns at least one identifying foreign key!- Throws:
InoNetExceptionSrvErrorException
-
setWeak
void setWeak(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Info IsWeak.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
hasMergedTable
boolean hasMergedTable() throws InoNetException, SrvErrorException- Throws:
InoNetExceptionSrvErrorException
-
setMergedTable
void setMergedTable(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Info HasMergedTable.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isSplittedByColumn
boolean isSplittedByColumn() throws InoNetException, SrvErrorExceptionIf true, thisDBTablewas created by a split column command.
Such a table has a maximum one identifying foreign key, and the same requirementEREntityas its referenced table.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getMaxOneForeignKey
DBForeignKey getMaxOneForeignKey() throws InoNetException, SrvErrorException
Gets theDBForeignKeywhich is maximum one. This foreign key contains exactly the same columns as the primary key.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getLeadingEntity
IMClassifier getLeadingEntity() throws InoNetException, SrvErrorException
Returns the leadingEREntityof this table. The leading entity is the only one entity which is the target of aMEMappingDependencyowned by this table, but not the target of a mapping dependency owned by aDBMergedTablein this table.- Throws:
InoNetExceptionSrvErrorException
-
maintain
java.util.List<MEStereotypeAble> maintain() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
splitH
DBTable splitH() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- Sorted:
- the list is sorted according to appropriate constraint order in the table.
-
-