de.mid.innovator.srv2api.icw2im
Interface IMFeature

All Superinterfaces:
ADClientAble, ADFindAble, ADHistoryAble, ADM2AttrModifyAble, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELFeature, ELNamedElement, ELNamespaceAsgnAble, ELObject, ELRedefAble, ELUUIDAble, ELValueContainerAble, MECommentAble, MEConstraintAble, MEModelElement, MENamedElement, MENamespaceAsgnAble, MEStereotypeAble, MMAttachmentAble, MMCommentContainerAble, MMLabelAble, MMLabelTextAttachmentAble, MMStereotypeAble, MMTextAble
All Known Subinterfaces:
DBColumn, DBTableColumn, DBViewColumn, ERAttribute, ERRole, ERUsedAttribute, ERViewAttribute, IMProperty, IMStructuralFeature

public interface IMFeature
extends ADHistoryAble, MEConstraintAble, ELFeature, MEStereotypeAble, MECommentAble, MENamespaceAsgnAble, MMLabelTextAttachmentAble

This is a utility class for IMFeature that provides static methods for creation or other purposes.

See Also:
IMFeatureHelper
Note:
The interface IMFeature describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!

Nested Class Summary
static class IMFeature.VAttr
           
 
Method Summary
<T extends IMIndex>
List<T>
getIndex(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          All indices this element is assigned to by an IMIndexedFeature.
<T extends IMIndex>
List<T>
getIndex(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getIndex and filters its return values according to the given stereotype value.
<T extends IMIndexedFeature>
List<T>
getIndexedFeature(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          List of indexed features of this IMFeature.
<T extends IMKey>
List<T>
getKey(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          All keys this element is assigned to by an IMKeyFeature.
<T extends IMKey>
List<T>
getKey(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getKey and filters its return values according to the given stereotype value.
<T extends IMKeyFeature>
List<T>
getKeyFeature(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          List of key features that use this IMFeature.
<T extends IMProperty>
List<T>
getKeyRelationshipProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          List of foreign key properties, referencing this unique key property.
<T extends IMProperty>
List<T>
getKeyRelationshipProperty(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getKeyRelationshipProperty and filters its return values according to the given stereotype value.
<T extends IMProperty>
List<T>
getKeyRelationshipPropertyRecursive(Class<T> returnType, IMClassifier refObj, K_CONTROL_OPTION... behaviourFlags)
          List of foreign key properties, referencing this unique key property indirectly.
<T extends IMProperty>
List<T>
getKeyRelationshipPropertyRecursive(Class<T> returnType, MMStereotype stereotype, IMClassifier refObj, K_CONTROL_OPTION... behaviourFlags)
          The method calls getKeyRelationshipPropertyRecursive and filters its return values according to the given stereotype value.
 IMClassifier getOwningClassifier()
          Reference to the classifier of this IMFeature.
 
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.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStatic
 
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.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getClientMappingDependency, getOutgoingConceptRealization, getProxyAsgProperty, getRealizedConcept, getRealizedConcept, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, replaceRealizedConcepts, setMapped, setRealizedConcept, setRequirementOfStakeholder
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOwnedComment
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, isCloneAbleElement, modifyStereotypePropertyValuesByName, setStereotype, setStereotypePropertyInfo
 
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.ELValueContainerAble
getValueReUseAble, setValueReUseAble
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getUUID, setUUID
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMESupplierDependency, getMESupplierMappingDependency
 
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.icw2meta.ADClientAble
getAnnotation, getLogic, getLogic, getPresentationContext, getSection
 
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.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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
 
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.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
 

Method Detail

getIndex

<T extends IMIndex> List<T> getIndex(Class<T> returnType,
                                     K_CONTROL_OPTION... behaviourFlags)
                                 throws InoNetException,
                                        SrvErrorException
All indices this element is assigned to by an IMIndexedFeature.

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 index order in the classifier.

getIndex

<T extends IMIndex> List<T> getIndex(Class<T> returnType,
                                     MMStereotype stereotype,
                                     K_CONTROL_OPTION... behaviourFlags)
                                 throws InoNetException,
                                        SrvErrorException
The method calls getIndex 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 list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getIndexedFeature

<T extends IMIndexedFeature> List<T> getIndexedFeature(Class<T> returnType,
                                                       K_CONTROL_OPTION... behaviourFlags)
                                                   throws InoNetException,
                                                          SrvErrorException
List of indexed features of this IMFeature.

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

getKey

<T extends IMKey> List<T> getKey(Class<T> returnType,
                                 K_CONTROL_OPTION... behaviourFlags)
                             throws InoNetException,
                                    SrvErrorException
All keys this element is assigned to by an IMKeyFeature.

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 property key in the classifier.

getKey

<T extends IMKey> List<T> getKey(Class<T> returnType,
                                 MMStereotype stereotype,
                                 K_CONTROL_OPTION... behaviourFlags)
                             throws InoNetException,
                                    SrvErrorException
The method calls getKey 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 list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getKeyFeature

<T extends IMKeyFeature> List<T> getKeyFeature(Class<T> returnType,
                                               K_CONTROL_OPTION... behaviourFlags)
                                           throws InoNetException,
                                                  SrvErrorException
List of key features that use this IMFeature.

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

getKeyRelationshipProperty

<T extends IMProperty> List<T> getKeyRelationshipProperty(Class<T> returnType,
                                                          K_CONTROL_OPTION... behaviourFlags)
                                                      throws InoNetException,
                                                             SrvErrorException
List of foreign key properties, referencing this unique 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

getKeyRelationshipProperty

<T extends IMProperty> List<T> getKeyRelationshipProperty(Class<T> returnType,
                                                          MMStereotype stereotype,
                                                          K_CONTROL_OPTION... behaviourFlags)
                                                      throws InoNetException,
                                                             SrvErrorException
The method calls getKeyRelationshipProperty 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 list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getKeyRelationshipPropertyRecursive

<T extends IMProperty> List<T> getKeyRelationshipPropertyRecursive(Class<T> returnType,
                                                                   IMClassifier refObj,
                                                                   K_CONTROL_OPTION... behaviourFlags)
                                                               throws InoNetException,
                                                                      SrvErrorException
List of foreign key properties, referencing this unique key property indirectly. This means that if a direct foreign key property is part of an unique key referenced by a following foreign key, the property of the following foreign key will be returned in this list.
Note: the direct foreign properties are not part of this list!
The result can be restricted to properties of the given argument refObj (EREntity or DBTable).

Parameters:
returnType - Specifies the type of elements to be returned.
refObj - A further instance of type IMClassifier which is used to control the behaviour of the method. (see description above)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getKeyRelationshipPropertyRecursive

<T extends IMProperty> List<T> getKeyRelationshipPropertyRecursive(Class<T> returnType,
                                                                   MMStereotype stereotype,
                                                                   IMClassifier refObj,
                                                                   K_CONTROL_OPTION... behaviourFlags)
                                                               throws InoNetException,
                                                                      SrvErrorException
The method calls getKeyRelationshipPropertyRecursive 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 list
refObj - A further instance of type IMClassifier which is used to control the behaviour of the method. (see description above)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOwningClassifier

IMClassifier getOwningClassifier()
                                 throws InoNetException,
                                        SrvErrorException
Reference to the classifier of this IMFeature.

Throws:
InoNetException
SrvErrorException