Interface DBTableColumn
- All Superinterfaces:
ADClientAble, ADFindAble, ADHistoryAble, ADM2AttrModifyAble, DBColumn, DBSQLObject, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELFeature, ELMultiplicityAble, ELMultiplicityAbleTypedElement, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELProperty, ELRedefAble, ELStructFeature, ELTypedElement, ELUUIDAble, ELValueContainerAble, ELViewNavigAble, IMFeature, IMProperty, IMStructuralFeature, MECommentAble, MEConstraintAble, MEModelElement, MENamedElement, MENamespaceAble, MENamespaceAsgnAble, MEStereotypeAble, METermAble, MMAttachmentAble, MMCommentContainerAble, MMLabelAble, MMLabelTextAttachmentAble, MMStereotypeAble, MMTextAble
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetDBForeignKey(K_CONTROL_OPTION... behaviourFlags) getDBIndex(K_CONTROL_OPTION... behaviourFlags) getDBIndex(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getDBIndex and filters its return values according to the given stereotype value.List of foreign key columns, referencing this unique key column.List of foreign key columns, referencing this unique key column indirectly.The semantic data type that types thisDBTableColumn.getDBUniqueKey(K_CONTROL_OPTION... behaviourFlags) getDBUniqueKeyColumn(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) List of unique key columns, referenced by this foreign key column.getDBUniqueKeyColumnOrigin(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Gets the origin columns of this foreign key column.Gets theDBTableColumnwhich is valid to evaluate theIMDataTypeof this column.List of all instances using thisDBTableColumn.getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags) List of check constraints owned by thisDBTableColumn.Reference to the User Defined Function of this parameter.voidsetDBIndex(List<? extends DBIndex> values) Set the value of View DBIndex.voidsetPrimary(boolean setPrimary) Sets theDBTableColumnto primary or not primary.Methods inherited from interface ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface DBColumn
getOwnedSQLGeneric, getOwnedTypeTable, getPropagationViews, getPropagationViews, getUsingDBViewElement, getUsingViewColumnByRef, getUsingViewColumnByRefMethods inherited from interface DBSQLObject
getPrivilege, getReferencedSQLObject, getReferencingSQLObject, setPrivilege, setReferencedSQLObject, setReferencingSQLObjectMethods inherited from interface ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface ELDeleteAble
deleteMethods inherited from interface ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStaticMethods inherited from interface ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpperMethods inherited from interface ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getItemDefinition, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImportMethods inherited from interface ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELProperty
getAggregation, getAssociation, getClassifierOfAssociationEnd, getDefaultValue, getOppositeAssociationEnd, getSelfAndSubsettedTransitive, getSelfAndSubsettedTransitive, getSelfAndSubsettingTransitive, getSelfAndSubsettingTransitive, getSubsettedProperty, getSubsettedTransitive, getSubsettedTransitive, getSubsettingProperty, getSubsettingTransitive, getSubsettingTransitive, isAssocOwner, isComposite, isDerived, isDerivedUnion, isNavigable, isNavigableAssocEnd, isSubsetted, isSubsetting, reconnectAssociation, setAggregation, setAssocOwner, setDefaultValue, setDerived, setDerivedUnion, setNavigableAssocEnd, setSubsettedPropertyMethods inherited from interface ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnlyMethods inherited from interface ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setTypeMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface ELViewNavigAble
getViewNavigAbleGroupMethods inherited from interface IMFeature
getIndex, getIndex, getIndexedFeature, getKey, getKey, getKeyFeature, getKeyRelationshipProperty, getKeyRelationshipProperty, getKeyRelationshipPropertyRecursive, getKeyRelationshipPropertyRecursive, getOwningClassifierMethods inherited from interface IMProperty
getConcreteFirstMasterParameter, getConcreteSecondMasterParameter, getDefaultSetting, getDerivedDataTypeDefinition, getDerivedImplementation, getDerivedImplementationFormatted, getDerivedIMType, getDerivedSemanticDataType, getDerivedTypingTSOrDTType, getFirstValidDerivingTypeProperty, getFirstValidTypeProperty, getKeyRelationship, getKeyRelationship, getOriginProperty, getOwnedTypeDefinition, getTypeClassName, getTypingDataType, getTypingDataTypeDefinition, getTypingSemanticDataType, getUniqueKey, getUniqueKey, getUniqueKeyProperty, getUniqueKeyProperty, getUniqueKeyPropertyOrigin, getUniqueKeyPropertyOrigin, isArray, isLocal, isNotNull, merge, setArray, setArrayAndMaintain, setConcreteFirstMasterParameter, setConcreteSecondMasterParameter, setDataTypeByString, setDataTypeDefinitionByString, setDefaultSetting, setDerivedImplementation, setDerivedIMType, setDerivedSemanticDataType, setDerivedTypingTSOrDTType, setNull, split, typeMappingMethods inherited from interface MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface MENamespaceAble
getMEOwnedMember, getMEPackageImportMethods inherited from interface MENamespaceAsgnAble
getSignatureMessageMethods inherited from interface MEStereotypeAble
getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getMEClientDependency, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface METermAble
getTerm, setTermMethods inherited from interface MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getExtendingStereotype, getExtendingStereotypeNames, 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, setExtendingStereotype, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Method Details
-
getDBIndex
List<DBIndex> getDBIndex(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 result may be sorted according to the index order in the table.
-
getDBIndex
List<DBIndex> getDBIndex(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getDBIndex 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
-
setDBIndex
Set the value of View DBIndex.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
setPrimary
Sets theDBTableColumnto primary or not primary.- Parameters:
setPrimary-- Throws:
InoNetExceptionSrvErrorException
-
getDBForeignKey
List<DBForeignKey> getDBForeignKey(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 result may be sorted according to the key order in the table.
-
getDBKeyRelationshipColumn
List of foreign key columns, referencing this unique key column.- Throws:
InoNetExceptionSrvErrorException
-
getDBKeyRelationshipColumnRecursive
List<DBTableColumn> getDBKeyRelationshipColumnRecursive(DBTable refObj) throws InoNetException, SrvErrorException List of foreign key columns, referencing this unique key column indirectly. This means that if a direct foreign key column is part of an unique key referenced by a following foreign key, the column of the following foreign key will be returned in this list.
Note: the direct foreign columns are not part of this list!
The result can be restricted to columns of the givenargument refObj.- Parameters:
refObj- A further instance of type DBTable which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
getDBUniqueKey
List<DBUniqueKey> getDBUniqueKey(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 result may be sorted according to the key order in the table.
-
getDBUniqueKeyColumn
<T extends DBColumn> List<T> getDBUniqueKeyColumn(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of unique key columns, referenced by this foreign key column.- 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
-
getDBUniqueKeyColumnOrigin
<T extends DBColumn> List<T> getDBUniqueKeyColumnOrigin(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Gets the origin columns of this foreign key column. An origin column is a pure unique key column at the beginning of a foreign/primary key chain. If a foreign key column references more than one unique key column the result may contain more than one column.- 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
-
getFirstValidTypeColumn
Gets theDBTableColumnwhich is valid to evaluate theIMDataTypeof this column. The result column is normally this column itself, unless this column is part of a foreign key. In the second case, the type is normally derived from a unique key column which will be returned.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedDBCheckConstraint
List<DBCheckConstraint> getOwnedDBCheckConstraint(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of check constraints owned by thisDBTableColumn.- 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 column.
-
getMergedInstance
List of all instances using thisDBTableColumn.- Throws:
InoNetExceptionSrvErrorException
-
getDBTypingSemanticDataType
The semantic data type that types thisDBTableColumn.- Throws:
InoNetExceptionSrvErrorException
-
getOwningTable
- Throws:
InoNetExceptionSrvErrorException
-
getOwningUdf
Reference to the User Defined Function of this parameter.- Throws:
InoNetExceptionSrvErrorException
-