Package com.nomagic.magicdraw.simulation
Class SimulationProfile.WidgetStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.simulation.SimulationProfile.WidgetStereotype
-
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.WidgetStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SimulationProfile_pstatic java.lang.StringNESTEDPROPERTYPATHSSpecify nested property pathsstatic java.lang.StringREPRESENTSSpecify the classifier represented by the configuration.static java.lang.StringSOURCESpecify the implementation class for the UI component.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringVALUEStructural feature which value should be represented for the configuration.
-
Constructor Summary
Constructors Modifier Constructor Description protectedWidgetStereotype(SimulationProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNestedPropertyPaths(Element element, java.lang.String value)voidaddValue(Element element, Element value)voidclearNestedPropertyPaths(Element element)voidclearRepresents(Element element)voidclearSource(Element element)voidclearValue(Element element)java.util.List<java.lang.String>getNestedPropertyPaths(Element element)PropertygetNestedPropertyPathsProperty()ElementgetRepresents(Element element)PropertygetRepresentsProperty()java.lang.StringgetSource(Element element)PropertygetSourceProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.util.List<Element>getValue(Element element)PropertygetValueProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveNestedPropertyPaths(Element element, java.lang.String value)voidremoveValue(Element element, Element value)voidsetNestedPropertyPaths(Element element, java.util.Collection<java.lang.String> value)voidsetRepresents(Element element, Element value)voidsetSource(Element element, java.lang.String value)voidsetValue(Element element, java.util.Collection<? extends Element> value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
clear, getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
SOURCE
public static final java.lang.String SOURCE
Specify the implementation class for the UI component. It must be a Java class that implements the com.nomagic.magicdraw.simulation.uiprototype.Mockup interface.- See Also:
- Constant Field Values
-
NESTEDPROPERTYPATHS
public static final java.lang.String NESTEDPROPERTYPATHS
Specify nested property paths- See Also:
- Constant Field Values
-
REPRESENTS
public static final java.lang.String REPRESENTS
Specify the classifier represented by the configuration.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Structural feature which value should be represented for the configuration.- See Also:
- Constant Field Values
-
_p
private final SimulationProfile _p
-
-
Constructor Detail
-
WidgetStereotype
protected WidgetStereotype(SimulationProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getSourceProperty
@CheckForNull public Property getSourceProperty()
-
getNestedPropertyPathsProperty
@CheckForNull public Property getNestedPropertyPathsProperty()
-
getRepresentsProperty
@CheckForNull public Property getRepresentsProperty()
-
getValueProperty
@CheckForNull public Property getValueProperty()
-
setSource
public void setSource(Element element, @CheckForNull java.lang.String value)
-
clearSource
public void clearSource(Element element)
-
getSource
@CheckForNull public java.lang.String getSource(Element element)
-
setNestedPropertyPaths
public void setNestedPropertyPaths(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearNestedPropertyPaths
public void clearNestedPropertyPaths(Element element)
-
addNestedPropertyPaths
public void addNestedPropertyPaths(Element element, java.lang.String value)
-
removeNestedPropertyPaths
public void removeNestedPropertyPaths(Element element, java.lang.String value)
-
getNestedPropertyPaths
public java.util.List<java.lang.String> getNestedPropertyPaths(Element element)
-
clearRepresents
public void clearRepresents(Element element)
-
setValue
public void setValue(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearValue
public void clearValue(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-