public class UtilitiesLibrary
extends java.lang.Object
Constructor and Description |
---|
UtilitiesLibrary() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
aStringMethod(java.lang.String s)
A string method.
|
static boolean |
blackboxApplyStereotype(org.eclipse.uml2.uml.Element element,
java.lang.String stereotypeQName)
Blackbox apply stereotype.
|
static org.eclipse.uml2.uml.Comment |
blackboxCreateFptcComment(org.eclipse.uml2.uml.Element owner,
org.eclipse.uml2.uml.NamedElement annotated,
org.eclipse.uml2.uml.Property partWithPort)
Blackbox create fptc comment.
|
static org.eclipse.uml2.uml.Element |
getElementWithXmiId(org.eclipse.uml2.uml.Element umlElement,
java.lang.String id)
Gets the element with xmi id.
|
static org.polarsys.chess.fla.flamm.Rule |
getRuleFromRulestring(java.lang.String flaRulestring,
org.polarsys.chess.fla.flamm.SimpleComponent component)
Gets the rule from rulestring.
|
static java.lang.String |
getXmiId(org.eclipse.uml2.uml.Element umlElement)
Gets the xmi id.
|
static java.lang.String |
rule2String(org.polarsys.chess.fla.flamm.Rule rule)
Rule 2 string.
|
static void |
toRuleExpression(java.lang.String ruleString,
org.polarsys.chess.fla.flamm.Expression expression)
To rule expression.
|
public static java.lang.String aStringMethod(java.lang.String s)
s
- the spublic static java.lang.String getXmiId(org.eclipse.uml2.uml.Element umlElement)
umlElement
- the uml elementpublic static org.eclipse.uml2.uml.Element getElementWithXmiId(org.eclipse.uml2.uml.Element umlElement, java.lang.String id)
umlElement
- the uml elementid
- the idpublic static org.polarsys.chess.fla.flamm.Rule getRuleFromRulestring(java.lang.String flaRulestring, org.polarsys.chess.fla.flamm.SimpleComponent component)
flaRulestring
- the fla rulestringcomponent
- the componentpublic static void toRuleExpression(java.lang.String ruleString, org.polarsys.chess.fla.flamm.Expression expression)
ruleString
- the rule stringexpression
- the expressionpublic static java.lang.String rule2String(org.polarsys.chess.fla.flamm.Rule rule)
rule
- the rulepublic static boolean blackboxApplyStereotype(org.eclipse.uml2.uml.Element element, java.lang.String stereotypeQName)
element
- the elementstereotypeQName
- the stereotype Q namepublic static org.eclipse.uml2.uml.Comment blackboxCreateFptcComment(org.eclipse.uml2.uml.Element owner, org.eclipse.uml2.uml.NamedElement annotated, org.eclipse.uml2.uml.Property partWithPort)
owner
- the ownerannotated
- the annotatedpartWithPort
- the part with port