|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.sysml.util.SysMLTools
public class SysMLTools
| Constructor Summary | |
|---|---|
SysMLTools()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList<?> |
getAllObjects(org.eclipse.uml2.uml.Element element,
java.lang.Class<?> clazz)
Search in the given model every occurence of a type |
static java.lang.String |
getMultiplicityText(org.eclipse.uml2.uml.MultiplicityElement multiplicity)
Returns the multiplicity label |
static java.lang.String |
getStereotypeNotation(org.eclipse.uml2.uml.Element element)
Get a string representation of all the applied stereotypes on the given UML2 element or SysMLElement. |
static java.lang.String |
getStereotypesList(org.eclipse.uml2.uml.Element element)
Get the list of all the applied stereotypes on the given UML2 element or SysMLElement. |
static java.lang.String |
getVisibilityNotation(org.eclipse.uml2.uml.VisibilityKind visibility)
Return a representation for a given visibility kind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SysMLTools()
| Method Detail |
|---|
public static java.lang.String getStereotypesList(org.eclipse.uml2.uml.Element element)
element - an UML2 element or a SysML Element
public static java.lang.String getStereotypeNotation(org.eclipse.uml2.uml.Element element)
element - an UML2 element or a SysML Element
public static java.lang.String getVisibilityNotation(org.eclipse.uml2.uml.VisibilityKind visibility)
visibility - the visibily
public static java.lang.String getMultiplicityText(org.eclipse.uml2.uml.MultiplicityElement multiplicity)
multiplicity - the multiplicity element
public static java.util.ArrayList<?> getAllObjects(org.eclipse.uml2.uml.Element element,
java.lang.Class<?> clazz)
element - the element to search inclazz - the wanted type
|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.