Package cruise.umple.cpp.generator
Class UmpleStructureGenerationPolicy
java.lang.Object
cruise.umple.cpp.generator.UmpleStructureGenerationPolicy
public class UmpleStructureGenerationPolicy
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description UmpleStructureGenerationPolicy()
-
Method Summary
Modifier and Type Method Description static java.util.Map<java.lang.Object,java.util.Map<java.lang.String,java.lang.Object>>
activeMethodInlineBlocks(ActiveMethod element)
static java.util.List<java.lang.Object>
activeMethods(Port port, UmpleClass clazz)
static java.util.List<ActiveMethod>
activeMethods(UmpleClass clazz)
static java.lang.String
anonymousBody(DeferredCall element)
static ActiveMethod
conjugatedActiveMethod(ActiveMethod activeMethod)
static java.util.List<ActiveMethod>
conjugatedActiveMethods(UmpleClass clazz)
static java.util.List<java.lang.Object>
constraintAttributes(BasicConstraint element)
static java.util.List<BasicConstraint>
getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod)
static java.util.List<BasicConstraint>
getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, UmpleClass parent)
static java.util.List<BasicConstraint>
getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, java.lang.Object root)
static java.util.List<Port>
getActiveMethodPorts(ActiveMethod activeMethod, UmpleClass parent)
static java.util.List<java.lang.Object>
getActiveMthodCodeBody(ActiveMethod activeMethod, java.util.Map<java.lang.String,java.lang.Object> options)
static java.lang.String
getActiveMthodCodeBody(CodeBlock codeblock, java.util.Map<java.lang.String,java.lang.Object> options)
static java.lang.String
getCodeBody(CodeBlock codeblock, ActiveMethod active)
static java.lang.String
getDirection(Port port)
static java.lang.String
getElementVisibility(ActiveMethod activeMethod)
static Port
getFromPort(PortBinding binding)
static UmpleVariable
getFromSubcomponnent(PortBinding binding)
static java.lang.String
getName(ActiveMethod activeMethod)
static java.lang.String
getName(Port port)
static java.util.List<?>
getOperationParametersString(ActiveMethod method)
static java.util.List<PortBinding>
getPortBinding(UmpleClass uClass)
static java.util.List<BasicConstraint>
getPortConstraints(GenerationPolicyRegistry generationValueGetter, Port port, UmpleClass parent)
static java.util.List<Port>
getPorts(UmpleClass element)
static Protocol
getProtocol(Port port)
static java.lang.String
getReturnType(ActiveMethod element)
static java.util.List<TimerConstraint>
getTimedConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, UmpleClass parent)
static java.lang.String
getTimer(GenerationPolicyRegistry generationValueGetter, TimerConstraint timerConstraint, UmpleClass parent)
static Port
getToPort(PortBinding binding)
static UmpleVariable
getToSubcomponnent(PortBinding binding)
static java.lang.String
getType(Port port)
static java.lang.String
getType(TimerConstraint timerConstraint)
static boolean
isComplex(Port port)
static boolean
isComplex(UmpleClass clazz)
static boolean
isConjugated(Port port)
static boolean
isInPort(Port port)
static boolean
isOutPort(Port port)
static java.lang.String
methodInvoke(DeferredCall element)
static java.lang.String[]
operationParameters(DeferredCall element)
static UmpleClass
parent(ActiveMethod activeMethod)
static UmpleClass
portOwingClass(Port port)
static UmpleClass
portOwingClass(PortBinding port)
static java.lang.String
resolveBody(DeferredCall element)
static java.lang.String
thenBody(DeferredCall element)
-
Constructor Details
-
UmpleStructureGenerationPolicy
public UmpleStructureGenerationPolicy()
-
-
Method Details
-
getCodeBody
-
getPorts
-
getType
-
getDirection
-
isInPort
-
isOutPort
-
isConjugated
-
portOwingClass
-
portOwingClass
-
getName
-
getProtocol
-
getPortBinding
-
getFromPort
-
getToPort
-
getFromSubcomponnent
-
getToSubcomponnent
-
getActiveMethodConstraints
public static java.util.List<BasicConstraint> getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod) -
getPortConstraints
public static java.util.List<BasicConstraint> getPortConstraints(GenerationPolicyRegistry generationValueGetter, Port port, UmpleClass parent) -
getActiveMethodConstraints
public static java.util.List<BasicConstraint> getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, UmpleClass parent) -
getTimedConstraints
public static java.util.List<TimerConstraint> getTimedConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, UmpleClass parent) -
getType
-
parent
-
getTimer
public static java.lang.String getTimer(GenerationPolicyRegistry generationValueGetter, TimerConstraint timerConstraint, UmpleClass parent) -
getActiveMethodConstraints
public static java.util.List<BasicConstraint> getActiveMethodConstraints(GenerationPolicyRegistry generationValueGetter, ActiveMethod activeMethod, java.lang.Object root) -
getActiveMethodPorts
public static java.util.List<Port> getActiveMethodPorts(ActiveMethod activeMethod, UmpleClass parent) -
constraintAttributes
-
activeMethods
-
conjugatedActiveMethods
-
conjugatedActiveMethod
-
getOperationParametersString
-
getReturnType
-
methodInvoke
-
operationParameters
-
anonymousBody
-
resolveBody
-
thenBody
-
activeMethodInlineBlocks
public static java.util.Map<java.lang.Object,java.util.Map<java.lang.String,java.lang.Object>> activeMethodInlineBlocks(ActiveMethod element) -
activeMethods
-
getActiveMthodCodeBody
public static java.util.List<java.lang.Object> getActiveMthodCodeBody(ActiveMethod activeMethod, java.util.Map<java.lang.String,java.lang.Object> options) -
isComplex
-
isComplex
-
getActiveMthodCodeBody
public static java.lang.String getActiveMthodCodeBody(CodeBlock codeblock, java.util.Map<java.lang.String,java.lang.Object> options) -
getName
-
getElementVisibility
-