Class DirectedRelationshipNumbering
- java.lang.Object
-
- com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering
-
- com.nomagic.magicdraw.autoid.custom.DirectedRelationshipNumbering
-
- All Implemented Interfaces:
INumberingAction
,IRelationshipNumbering
- Direct Known Subclasses:
AbstractionNumbering
,ComponentRealizationNumbering
,DependencyNumbering
,DeploymentNumbering
,ElementImportNumbering
,ExtendNumbering
,GeneralizationNumbering
,IncludeNumbering
,InformationFlowNumbering
,InterfaceRealizationNumbering
,ManifestationNumbering
,PackageImportNumbering
,PackageMergeNumbering
,ProfileApplicationNumbering
,ProtocolConformanceNumbering
,RealizationNumbering
,SubstitutionNumbering
,TemplateBindingNumbering
,UsageNumbering
@OpenApiAll public class DirectedRelationshipNumbering extends com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering implements IRelationshipNumbering
Base Class for all Directed Relationship Numberings Feb 20, 2012
-
-
Constructor Summary
Constructors Constructor Description DirectedRelationshipNumbering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<Element,Element>
collectRelations(java.util.List<Element> elements)
Collecting the Elements that are connected through given DirectedRelationshipjava.util.Collection<java.lang.Class<? extends DirectedRelationship>>
getRelationTypes()
Which types of directedRelationships should be taken into consideration for element sthat are eithe rsource or target of the given relation types.
-
-
-
Method Detail
-
getRelationTypes
public java.util.Collection<java.lang.Class<? extends DirectedRelationship>> getRelationTypes()
Description copied from interface:IRelationshipNumbering
Which types of directedRelationships should be taken into consideration for element sthat are eithe rsource or target of the given relation types.- Specified by:
getRelationTypes
in interfaceIRelationshipNumbering
- Returns:
- a collection of directed relationship types
-
collectRelations
public java.util.Map<Element,Element> collectRelations(java.util.List<Element> elements)
Collecting the Elements that are connected through given DirectedRelationship- Specified by:
collectRelations
in classcom.nomagic.magicdraw.autoid.AbstractRelationshipNumbering
- Parameters:
elements
- the elements to test- Returns:
- a map of source-target connected by DirectedRelationship
-
-