@OpenApiAll public class DirectedRelationshipNumbering extends com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering implements IRelationshipNumbering
Constructor and Description |
---|
DirectedRelationshipNumbering() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Element,Element> |
collectRelations(java.util.List<Element> elements)
Collecting the Elements that are connected through given DirectedRelationship
|
java.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.
|
public java.util.Collection<java.lang.Class<? extends DirectedRelationship>> getRelationTypes()
IRelationshipNumbering
getRelationTypes
in interface IRelationshipNumbering
public java.util.Map<Element,Element> collectRelations(java.util.List<Element> elements)
collectRelations
in class com.nomagic.magicdraw.autoid.AbstractRelationshipNumbering
elements
- the elements to test