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
,MMAttachmentAble
,MMCommentContainerAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMStereotypeAble
,MMTextAble
- All Known Subinterfaces:
DBColumn
,DBTableColumn
,DBViewColumn
,ERAttribute
,ERUsedAttribute
,ERViewAttribute
public interface IMProperty extends ELProperty, IMStructuralFeature
This is a utility class for IMProperty that provides static methods for creation or other purposes.- 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 Modifier and Type Interface Description static class
IMProperty.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getConcreteFirstMasterParameter()
The concrete first parameter of theIMDataTypeDefinition
.java.lang.String
getConcreteSecondMasterParameter()
The concrete second parameter of theIMDataTypeDefinition
.K_DEFAULT_SETTING
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.IMDataTypeDefinition
getDerivedDataTypeDefinition()
Gets theIMDataTypeDefinition
which is valid for thisIMProperty
.IMSemanticDataType
getDerivedSemanticDataType()
Gets theIMSemanticDataType
which is valid for thisIMProperty
.ADClientAble
getDerivedTypingTSOrDTType()
Gets theIMDataTypeDefinition
which types thisDBTableColumn
.IMProperty
getFirstValidDerivingTypeProperty()
Gets theIMProperty
which is the first candidate property for deriving itsIMDataType
to this property, regardless of whether this property is typed by itself.IMProperty
getFirstValidTypeProperty()
Gets theIMProperty
which is valid to evaluate theIMDataType
of this property.<T extends IMKeyRelationship>
java.util.List<T>getKeyRelationship(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
<T extends IMKeyRelationship>
java.util.List<T>getKeyRelationship(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getKeyRelationship and filters its return values according to the given stereotype value.IMProperty
getOriginProperty()
Gets the originIMProperty
of this foreign key property.java.util.List<IMDataTypeDefinition>
getOwnedTypeDefinition(K_CONTROL_OPTION... behaviourFlags)
java.lang.String
getTypeClassName()
Name of theMMTSTypeClass
of the master type of thisIMProperty
.IMDataType
getTypingDataType()
IMDataTypeDefinition
getTypingDataTypeDefinition()
The data type definition that types this property.IMSemanticDataType
getTypingSemanticDataType()
The semantic data type that types this property.<T extends IMUniqueKey>
java.util.List<T>getUniqueKey(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
<T extends IMUniqueKey>
java.util.List<T>getUniqueKey(java.lang.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>
java.util.List<T>getUniqueKeyProperty(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
List of unique key properties, referenced by this foreign key property.<T extends IMProperty>
java.util.List<T>getUniqueKeyProperty(java.lang.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>
java.util.List<T>getUniqueKeyPropertyOrigin(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
Gets the origin properties of this foreign key property.<T extends IMProperty>
java.util.List<T>getUniqueKeyPropertyOrigin(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getUniqueKeyPropertyOrigin and filters its return values according to the given stereotype value.boolean
isLocal()
True, if the property is a local property, otherwise false.boolean
isNotNull()
True, if the property is mandatory, otherwise false.void
merge(java.util.List<? extends IMStructuralFeature> seq)
This method merges several properties of the same concrete classERAttribute
orDBTableColumn
.
The modified property keeps all information about this input property.void
setConcreteFirstMasterParameter(java.lang.String value)
Set the value of Info ConcreteFirstMasterParameter.void
setConcreteSecondMasterParameter(java.lang.String value)
Set the value of Info ConcreteSecondMasterParameter.void
setDefaultSetting(K_DEFAULT_SETTING value)
Set the value of Attribut DefaultSetting.void
setDerivedSemanticDataType(IMSemanticDataType value)
Set the value of View DerivedSemanticDataType.void
setDerivedTypingTSOrDTType(ADClientAble value)
Set the value of View DerivedTypingTSOrDTType.void
setNull(boolean setNull)
Sets theDBTableColumn
to null or not null.java.util.List<IMProperty>
split()
This method splits anIMProperty
, (ERAttribute
orDBTableColumn
) to several features.
If more than oneIMKeyRelationshipFeature
of this feature exists, one of these remains at this feature.void
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.-
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.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
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.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStatic
-
Methods 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, setUpper
-
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.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.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, setSubsettedProperty
-
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.ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnly
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setType
-
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.icw2elem.ELViewNavigAble
getViewNavigAbleGroup
-
Methods inherited from interface de.mid.innovator.srv2api.icw2im.IMFeature
getIndex, getIndex, getIndexedFeature, getKey, getKey, getKeyFeature, getKeyRelationshipProperty, getKeyRelationshipProperty, getKeyRelationshipPropertyRecursive, getKeyRelationshipPropertyRecursive, getOwningClassifier
-
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.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
-
getDefaultSetting
K_DEFAULT_SETTING getDefaultSetting() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
setDefaultSetting
void setDefaultSetting(K_DEFAULT_SETTING value) throws InoNetException, SrvErrorException
Set the value of Attribut DefaultSetting.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isNotNull
boolean isNotNull() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getTypeClassName
java.lang.String getTypeClassName() throws InoNetException, SrvErrorException
Name of theMMTSTypeClass
of the master type of thisIMProperty
.- Throws:
InoNetException
SrvErrorException
-
getConcreteFirstMasterParameter
java.lang.String getConcreteFirstMasterParameter() throws InoNetException, SrvErrorException
The concrete first parameter of theIMDataTypeDefinition
.- Throws:
InoNetException
SrvErrorException
-
setConcreteFirstMasterParameter
void setConcreteFirstMasterParameter(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Info ConcreteFirstMasterParameter.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getConcreteSecondMasterParameter
java.lang.String getConcreteSecondMasterParameter() throws InoNetException, SrvErrorException
The concrete second parameter of theIMDataTypeDefinition
.- Throws:
InoNetException
SrvErrorException
-
setConcreteSecondMasterParameter
void setConcreteSecondMasterParameter(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Info ConcreteSecondMasterParameter.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isLocal
boolean isLocal() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getDerivedSemanticDataType
IMSemanticDataType getDerivedSemanticDataType() throws InoNetException, SrvErrorException
Gets theIMSemanticDataType
which 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:
InoNetException
SrvErrorException
-
setDerivedSemanticDataType
void setDerivedSemanticDataType(IMSemanticDataType value) throws InoNetException, SrvErrorException
Set the value of View DerivedSemanticDataType.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getDerivedDataTypeDefinition
IMDataTypeDefinition getDerivedDataTypeDefinition() throws InoNetException, SrvErrorException
Gets theIMDataTypeDefinition
which 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:
InoNetException
SrvErrorException
-
getFirstValidTypeProperty
IMProperty getFirstValidTypeProperty() throws InoNetException, SrvErrorException
Gets theIMProperty
which is valid to evaluate theIMDataType
of 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:
InoNetException
SrvErrorException
-
getFirstValidDerivingTypeProperty
IMProperty getFirstValidDerivingTypeProperty() throws InoNetException, SrvErrorException
Gets theIMProperty
which is the first candidate property for deriving itsIMDataType
to this property, regardless of whether this property is typed by itself.- Throws:
InoNetException
SrvErrorException
-
getOriginProperty
IMProperty getOriginProperty() throws InoNetException, SrvErrorException
Gets the originIMProperty
of this foreign key property. The origin property is the pure unique key property at the beginning of the foreign/primary key chain.- Throws:
InoNetException
SrvErrorException
-
getKeyRelationship
<T extends IMKeyRelationship> java.util.List<T> getKeyRelationship(java.lang.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:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted according to the key order in the classifier.
-
getKeyRelationship
<T extends IMKeyRelationship> java.util.List<T> getKeyRelationship(java.lang.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:
InoNetException
SrvErrorException
-
getUniqueKey
<T extends IMUniqueKey> java.util.List<T> getUniqueKey(java.lang.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:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted according to the key order in the classifier.
-
getUniqueKey
<T extends IMUniqueKey> java.util.List<T> getUniqueKey(java.lang.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:
InoNetException
SrvErrorException
-
getUniqueKeyProperty
<T extends IMProperty> java.util.List<T> getUniqueKeyProperty(java.lang.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:
InoNetException
SrvErrorException
-
getUniqueKeyProperty
<T extends IMProperty> java.util.List<T> getUniqueKeyProperty(java.lang.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:
InoNetException
SrvErrorException
-
getUniqueKeyPropertyOrigin
<T extends IMProperty> java.util.List<T> getUniqueKeyPropertyOrigin(java.lang.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:
InoNetException
SrvErrorException
-
getUniqueKeyPropertyOrigin
<T extends IMProperty> java.util.List<T> getUniqueKeyPropertyOrigin(java.lang.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:
InoNetException
SrvErrorException
-
getDerivedTypingTSOrDTType
ADClientAble getDerivedTypingTSOrDTType() throws InoNetException, SrvErrorException
Gets theIMDataTypeDefinition
which types thisDBTableColumn
. This type is called the master implementation and leads to mapped types of other type systems.
Setter characteristic:
If thisIMProperty
doesn'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:
InoNetException
SrvErrorException
-
setDerivedTypingTSOrDTType
void setDerivedTypingTSOrDTType(ADClientAble value) throws InoNetException, SrvErrorException
Set the value of View DerivedTypingTSOrDTType.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
merge
void merge(java.util.List<? extends IMStructuralFeature> seq) throws InoNetException, SrvErrorException
This method merges several properties of the same concrete classERAttribute
orDBTableColumn
.
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:
InoNetException
SrvErrorException
-
setNull
void setNull(boolean setNull) throws InoNetException, SrvErrorException
Sets theDBTableColumn
to null or not null.- Parameters:
setNull
-- Throws:
InoNetException
SrvErrorException
-
split
java.util.List<IMProperty> split() throws InoNetException, SrvErrorException
This method splits anIMProperty
, (ERAttribute
orDBTableColumn
) to several features.
If more than oneIMKeyRelationshipFeature
of 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:
InoNetException
SrvErrorException
-
typeMapping
void typeMapping() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getOwnedTypeDefinition
java.util.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:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getTypingDataType
IMDataType getTypingDataType() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
getTypingDataTypeDefinition
IMDataTypeDefinition getTypingDataTypeDefinition() throws InoNetException, SrvErrorException
The data type definition that types this property.- Throws:
InoNetException
SrvErrorException
-
getTypingSemanticDataType
IMSemanticDataType getTypingSemanticDataType() throws InoNetException, SrvErrorException
The semantic data type that types this property.- Throws:
InoNetException
SrvErrorException
-
-