Package de.mid.innovator.srv2api.icw2im
Interface IMProperty
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELFeature,ELMultiplicityAble,ELMultiplicityAbleTypedElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELProperty,ELRedefAble,ELStructFeature,ELTypedElement,ELUUIDAble,ELValueContainerAble,ELViewNavigAble,IMFeature,IMStructuralFeature,MECommentAble,MEConstraintAble,MEModelElement,MENamedElement,MENamespaceAsgnAble,MEStereotypeAble,METermAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
- All Known Subinterfaces:
DBColumn,DBTableColumn,DBViewColumn,ERAttribute,ERUsedAttribute,ERViewAttribute
This is a utility class for IMProperty that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface IMProperty describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe concrete first parameter of theIMDataTypeDefinition.The concrete second parameter of theIMDataTypeDefinition.The default setting says if the property has either no default value, a default value set by system or an user defined default value.Gets theIMDataTypeDefinitionwhich is valid for thisIMProperty.Technical type, as used in the source code.getDerivedImplementationFormatted(String pattern, int mode) Formatted technical type, as used in SQL.Gets theELTypewhich is valid for thisIMProperty.Gets theIMSemanticDataTypewhich is valid for thisIMProperty.Gets theIMDataTypeDefinitionwhich types thisDBTableColumn.Gets theIMPropertywhich is the first candidate property for deriving itsIMDataTypeto this property, regardless of whether this property is typed by itself.Gets theIMPropertywhich is valid to evaluate theIMDataTypeof this property.<T extends IMKeyRelationship>
List<T> getKeyRelationship(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends IMKeyRelationship>
List<T> getKeyRelationship(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getKeyRelationship and filters its return values according to the given stereotype value.Gets the originIMPropertyof this foreign key property.getOwnedTypeDefinition(K_CONTROL_OPTION... behaviourFlags) Name of theMMTSTypeClassof the master type of thisIMProperty.The data type definition that types this property.The semantic data type that types this property.<T extends IMUniqueKey>
List<T> getUniqueKey(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends IMUniqueKey>
List<T> getUniqueKey(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getUniqueKey and filters its return values according to the given stereotype value.<T extends IMProperty>
List<T> getUniqueKeyProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) List of unique key properties, referenced by this foreign key property.<T extends IMProperty>
List<T> getUniqueKeyProperty(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getUniqueKeyProperty and filters its return values according to the given stereotype value.<T extends IMProperty>
List<T> getUniqueKeyPropertyOrigin(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Gets the origin properties of this foreign key property.<T extends IMProperty>
List<T> getUniqueKeyPropertyOrigin(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getUniqueKeyPropertyOrigin and filters its return values according to the given stereotype value.booleanisArray()True, the property can hold several values of its type in an array.booleanisLocal()True, if the property is a local property, otherwise false.booleanTrue, if the property is mandatory, otherwise false.voidmerge(List<? extends IMStructuralFeature> seq) This method merges several properties of the same concrete classERAttributeorDBTableColumn.
The modified property keeps all information about this input property.voidsetArray(boolean value) Set the value of Info IsArray.voidsetArrayAndMaintain(boolean value) Set the value of Info IsArray.voidSet the value of Info ConcreteFirstMasterParameter.voidSet the value of Info ConcreteSecondMasterParameter.voidsetDataTypeByString(String item) Sets the data type of this property by a string.voidSets the technical type of this property by a string with concrete parameters.voidSet the value of Attribut DefaultSetting.voidsetDerivedImplementation(String value) Set the value of Info DerivedImplementation.voidsetDerivedIMType(ELType value) Set the value of View DerivedIMType.voidSet the value of View DerivedSemanticDataType.voidSet the value of View DerivedTypingTSOrDTType.voidsetNull(boolean setNull) Sets theDBTableColumnrespectivelyERAttributeto null or not null.split()This method splits anIMProperty, (ERAttributeorDBTableColumn) to several features.
If more than oneIMKeyRelationshipFeatureof this feature exists, one of these remains at this feature.voidIf the property is typed by anIMDataTypeDefinition, this command will create data type definitions (if missing) or modify existing data type definitions (if they are not marked as user implementation) according to the type mappings in the configuration.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.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 de.mid.innovator.srv2api.icw2elem.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStaticMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpperMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELProperty
getAggregation, getAssociation, getClassifierOfAssociationEnd, getDefaultValue, getOppositeAssociationEnd, getSelfAndSubsettedTransitive, getSelfAndSubsettedTransitive, getSelfAndSubsettingTransitive, getSelfAndSubsettingTransitive, getSubsettedProperty, getSubsettedTransitive, getSubsettedTransitive, getSubsettingProperty, getSubsettingTransitive, getSubsettingTransitive, getTypingCreateCLInst, isAssocOwner, isComposite, isDerived, isDerivedUnion, isNavigable, isNavigableAssocEnd, isSubsetted, isSubsetting, reconnectAssociation, setAggregation, setAssocOwner, setDefaultValue, setDerived, setDerivedUnion, setNavigableAssocEnd, setSubsettedPropertyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnlyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setTypeMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroupMethods inherited from interface de.mid.innovator.srv2api.icw2im.IMFeature
getIndex, getIndex, getIndexedFeature, getKey, getKey, getKeyFeature, getKeyRelationshipProperty, getKeyRelationshipProperty, getKeyRelationshipPropertyRecursive, getKeyRelationshipPropertyRecursive, getOwningClassifierMethods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessageMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods 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, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Method Details
-
getDefaultSetting
The default setting says if the property has either no default value, a default value set by system or an user defined default value.- Throws:
InoNetExceptionSrvErrorException
-
setDefaultSetting
Set the value of Attribut DefaultSetting.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDerivedImplementation
Technical type, as used in the source code.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedImplementation
Set the value of Info DerivedImplementation.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDerivedImplementationFormatted
String getDerivedImplementationFormatted(String pattern, int mode) throws InoNetException, SrvErrorException Formatted technical type, as used in SQL. Use the argument pattern to specify the formatting of structure types! The first two characters are open and close quote unless they are space. A following colon or the letter 'n' means that component names are added, with or without a colon as type separator. And a following newline means that newlines are added. Use the argument mode to give the number of indent blanks.- Parameters:
pattern- A string pattern. This parameter is optional. (Its value can be given as null.)mode- A value of type TInteger that controls the behaviour of the underlying method. (see description)This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
isNotNull
True, if the property is mandatory, otherwise false. At the time of creating the owner element, a value for each mandatory property must be known.
Examples: - mandatory attribute of an entity in the entity relationship model - NOT NULL column of an database table- Throws:
InoNetExceptionSrvErrorException
-
isArray
True, the property can hold several values of its type in an array.- Throws:
InoNetExceptionSrvErrorException
-
setArray
Set the value of Info IsArray.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
setArrayAndMaintain
Set the value of Info IsArray.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTypeClassName
Name of theMMTSTypeClassof the master type of thisIMProperty.- Throws:
InoNetExceptionSrvErrorException
-
getConcreteFirstMasterParameter
The concrete first parameter of theIMDataTypeDefinition.- Throws:
InoNetExceptionSrvErrorException
-
setConcreteFirstMasterParameter
Set the value of Info ConcreteFirstMasterParameter.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getConcreteSecondMasterParameter
The concrete second parameter of theIMDataTypeDefinition.- Throws:
InoNetExceptionSrvErrorException
-
setConcreteSecondMasterParameter
Set the value of Info ConcreteSecondMasterParameter.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isLocal
True, if the property is a local property, otherwise false. A local property is not part of a key, and, if it is a view element, it does not view a non local property- Throws:
InoNetExceptionSrvErrorException
-
getDerivedSemanticDataType
Gets theIMSemanticDataTypewhich is valid for thisIMProperty. This could be the type element of this property or evaluated viaIMKeyRelationshipFeature.
e.g. a foreign key column derives its type from the referenced primary key column.
The set method assigns the semantic data type to this property, even if the property is a foreign key property! In that case the type of the foreign key property is fixed and will not be derived from the primary key property.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedSemanticDataType
Set the value of View DerivedSemanticDataType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDerivedDataTypeDefinition
Gets theIMDataTypeDefinitionwhich is valid for thisIMProperty. This could be owned by this property or evaluated viaIMKeyRelationshipFeature.
e.g. a foreign key column derives its type from the referenced primary key column.- Throws:
InoNetExceptionSrvErrorException
-
getDerivedIMType
Gets theELTypewhich is valid for thisIMProperty. This could be the type element of this property or evaluated viaIMKeyRelationshipFeature.
e.g. a foreign key column derives its type from the referenced primary key column.
The set method assigns the type to this property, even if the property is a foreign key property or a view property! In that case the type of the property is fixed and will not be derived from the referenced property.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedIMType
Set the value of View DerivedIMType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getFirstValidTypeProperty
Gets theIMPropertywhich is valid to evaluate theIMDataTypeof this property. The result property is normally this property itself, unless this property is part of a foreign key. In the second case, the type is normally derived from a unique key property which will be returned.- Throws:
InoNetExceptionSrvErrorException
-
getFirstValidDerivingTypeProperty
Gets theIMPropertywhich is the first candidate property for deriving itsIMDataTypeto this property, regardless of whether this property is typed by itself.- Throws:
InoNetExceptionSrvErrorException
-
getOriginProperty
Gets the originIMPropertyof this foreign key property. The origin property is the pure unique key property at the beginning of the foreign/primary key chain.- Throws:
InoNetExceptionSrvErrorException
-
getKeyRelationship
<T extends IMKeyRelationship> List<T> getKeyRelationship(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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- Sorted:
- the result may be sorted according to the key order in the classifier.
-
getKeyRelationship
<T extends IMKeyRelationship> List<T> getKeyRelationship(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getKeyRelationship 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
-
getUniqueKey
<T extends IMUniqueKey> List<T> getUniqueKey(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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- Sorted:
- the result may be sorted according to the key order in the classifier.
-
getUniqueKey
<T extends IMUniqueKey> List<T> getUniqueKey(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getUniqueKey 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
-
getUniqueKeyProperty
<T extends IMProperty> List<T> getUniqueKeyProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of unique key properties, referenced by this foreign key property.- 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
-
getUniqueKeyProperty
<T extends IMProperty> List<T> getUniqueKeyProperty(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getUniqueKeyProperty 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
-
getUniqueKeyPropertyOrigin
<T extends IMProperty> List<T> getUniqueKeyPropertyOrigin(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Gets the origin properties of this foreign key property. An origin property is a pure unique key property at the beginning of a foreign/primary key chain. If a foreign key property references more than one unique key property the result may contain more than one properties.- 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
-
getUniqueKeyPropertyOrigin
<T extends IMProperty> List<T> getUniqueKeyPropertyOrigin(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getUniqueKeyPropertyOrigin 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
-
getDerivedTypingTSOrDTType
Gets theIMDataTypeDefinitionwhich types thisDBTableColumn. This type is called the master implementation and leads to mapped types of other type systems.
Setter characteristic:
If thisIMPropertydoesn't own a data type definition yet, the input value must be a configuredMMTSType. In this case, a data type definition will be created and used for typing this column.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedTypingTSOrDTType
Set the value of View DerivedTypingTSOrDTType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
merge
This method merges several properties of the same concrete classERAttributeorDBTableColumn.
The modified property keeps all information about this input property. e.g. name, stereotype, specifications, labels ...
Some information about the merged properties given by the input sequence will be added:
- Dependencies (this property is source or target) - key features, if this property is not yet part of the same key. - key features, if this property is not yet part of the same index. - For table columns: assignments to instances, if this column is not yet assigned to the same instance.
The added properties will be deleted at the end.- Parameters:
seq-- Throws:
InoNetExceptionSrvErrorException
-
setDataTypeByString
Sets the data type of this property by a string. This command accepts types with ARRAY, STRUCT and MAP. If there are more than one known type systems, each inner datatype defintion starts with the name of the type system followed by two colons.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setDataTypeDefinitionByString
Sets the technical type of this property by a string with concrete parameters. If there are more than one known type systems the string starts with the name of the type system followed by two colons.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setNull
Sets theDBTableColumnrespectivelyERAttributeto null or not null.- Parameters:
setNull-- Throws:
InoNetExceptionSrvErrorException
-
split
This method splits anIMProperty, (ERAttributeorDBTableColumn) to several features.
If more than oneIMKeyRelationshipFeatureof this feature exists, one of these remains at this feature. For all others, a new feature will be created by copying this feature and reconnecting the key relationship feature.- Throws:
InoNetExceptionSrvErrorException
-
typeMapping
If the property is typed by anIMDataTypeDefinition, this command will create data type definitions (if missing) or modify existing data type definitions (if they are not marked as user implementation) according to the type mappings in the configuration.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedTypeDefinition
List<IMDataTypeDefinition> getOwnedTypeDefinition(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.
-
getTypingDataType
- Throws:
InoNetExceptionSrvErrorException
-
getTypingDataTypeDefinition
The data type definition that types this property.- Throws:
InoNetExceptionSrvErrorException
-
getTypingSemanticDataType
The semantic data type that types this property.- Throws:
InoNetExceptionSrvErrorException
-