Interface ELAssociation
-
- All Superinterfaces:
ELClassifier
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELRedefAble
,ELType
,ELUUIDAble
- All Known Subinterfaces:
BIHierarchyRole
,CLAssocClass
,CLAssociation
,CLCommunicationPath
,ELM2Association
,ERRelationship
,IMAssociation
,MM2Association
public interface ELAssociation extends ELClassifier
This is a utility class for ELAssociation that provides static methods for creation or other purposes.- Note:
- The interface ELAssociation 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
ELAssociation.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ELProperty
getAggregationEnd()
This association's aggregation property.<T extends ELProperty>
java.util.List<T>getAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All of this association's association ends.<T extends ELProperty>
java.util.List<T>getAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getAssociationEnd and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getAssociationEndsOfEndType(java.lang.Class<T> returnType, ELType refObj, K_CONTROL_OPTION... behaviourFlags)
All of this association's association ends connected to the end type provided byargument refObj
.<T extends ELProperty>
java.util.List<T>getAssociationEndsOfEndType(java.lang.Class<T> returnType, MMStereotype stereotype, ELType refObj, K_CONTROL_OPTION... behaviourFlags)
The method calls getAssociationEndsOfEndType and filters its return values according to the given stereotype value.<T extends ELClassifier>
java.util.List<T>getClassifierOfAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All classifiers of association ends connected to this association.<T extends ELClassifier>
java.util.List<T>getClassifierOfAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getClassifierOfAssociationEnd and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getOwnedAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties owned by this association which are an association end.<T extends ELProperty>
java.util.List<T>getOwnedAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getOwnedAssociationEnd and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getProperty(java.lang.Class<T> returnType)
The properties that are assigned to this association.<T extends ELProperty>
java.util.List<T>getPropertyNotAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All of this association's properties which are not an association end.<T extends ELProperty>
java.util.List<T>getPropertyNotAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getPropertyNotAssociationEnd and filters its return values according to the given stereotype value.ARG_SortedAssociationEnds
getSortedAssociationEnds()
Returns the sorted list of all association ends.void
reconnectAssociation(ELElement ohNew, K_SIDE kSide)
Assigns one this binary association's association ends to a new classifier.-
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
-
-
-
-
Method Detail
-
getAggregationEnd
ELProperty getAggregationEnd() throws InoNetException, SrvErrorException
This association's aggregation property.- Throws:
InoNetException
SrvErrorException
-
getAssociationEnd
<T extends ELProperty> java.util.List<T> getAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All of this association's association ends. With @SORTING the list is sorted according to the role sort order.- 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
-
getAssociationEnd
<T extends ELProperty> java.util.List<T> getAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getAssociationEnd 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
-
getClassifierOfAssociationEnd
<T extends ELClassifier> java.util.List<T> getClassifierOfAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All classifiers of association ends connected to this association. With @SORTING the list is sorted according to the role sort order.- 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
-
getClassifierOfAssociationEnd
<T extends ELClassifier> java.util.List<T> getClassifierOfAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getClassifierOfAssociationEnd 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
-
getOwnedAssociationEnd
<T extends ELProperty> java.util.List<T> getOwnedAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All properties owned by this association which are an association end.- 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
-
getOwnedAssociationEnd
<T extends ELProperty> java.util.List<T> getOwnedAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getOwnedAssociationEnd 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
-
getPropertyNotAssociationEnd
<T extends ELProperty> java.util.List<T> getPropertyNotAssociationEnd(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All of this association's properties which are not an association end.- 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
-
getPropertyNotAssociationEnd
<T extends ELProperty> java.util.List<T> getPropertyNotAssociationEnd(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getPropertyNotAssociationEnd 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
-
getAssociationEndsOfEndType
<T extends ELProperty> java.util.List<T> getAssociationEndsOfEndType(java.lang.Class<T> returnType, ELType refObj, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All of this association's association ends connected to the end type provided byargument refObj
.- Parameters:
returnType
- Specifies the type of elements to be returned.refObj
- A further instance of type ELType 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
-
getAssociationEndsOfEndType
<T extends ELProperty> java.util.List<T> getAssociationEndsOfEndType(java.lang.Class<T> returnType, MMStereotype stereotype, ELType refObj, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getAssociationEndsOfEndType 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 listrefObj
- A further instance of type ELType 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
-
getSortedAssociationEnds
ARG_SortedAssociationEnds getSortedAssociationEnds() throws InoNetException, SrvErrorException
Returns the sorted list of all association ends.- Throws:
InoNetException
SrvErrorException
-
reconnectAssociation
void reconnectAssociation(ELElement ohNew, K_SIDE kSide) throws InoNetException, SrvErrorException
Assigns one this binary association's association ends to a new classifier. The side parameter specifies whether the first (source) or the second (target) association end is reconnected.- Parameters:
ohNew
- the element to which the relationship is redirectedkSide
- specifies the role of the new element in the relationship- Throws:
InoNetException
SrvErrorException
-
getProperty
<T extends ELProperty> java.util.List<T> getProperty(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
The properties that are assigned to this association.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
-