public class CollectFilterParser
extends java.lang.Object
Constructor and Description |
---|
CollectFilterParser() |
Modifier and Type | Method and Description |
---|---|
static GenerationContext |
getContext() |
static DocumentValidator |
getValidator() |
static void |
setContext(GenerationContext gc) |
static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
sortElements(java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> in,
java.lang.String sortStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element cba)
Sorts elements by property, attribute, or name after applying call
behavior.
|
static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
startCollectAndFilterSequence(com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode a,
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> in)
gets a graph of the collect/filter actions that starts from a, evaluates
and executes actions topologically and return result
|
public static void setContext(GenerationContext gc)
public static GenerationContext getContext()
public static DocumentValidator getValidator()
public static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> startCollectAndFilterSequence(com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode a, java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> in)
a
- in
- public static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> sortElements(java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> in, java.lang.String sortStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element cba)
in
- elements to be sortedsortStereotype
- the kind of sort based on sort stereotype name. This may be
sortByProperty, sortByAttribute, or sortByName as found in
DocGenProfile.cba
- call behavior to be applied before getting the specified