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
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering
nInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectRelations
(List<Element> elements) Collecting the Elements that are connected through given DirectedRelationshipCollection<Class<? extends DirectedRelationship>>
Which types of directedRelationships should be taken into consideration for element sthat are eithe rsource or target of the given relation types.Methods inherited from class com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering
generateIds, isSuitableType
-
Constructor Details
-
DirectedRelationshipNumbering
public DirectedRelationshipNumbering()
-
-
Method Details
-
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
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
-