Package com.nomagic.magicdraw.simulation
Class SimulationProfile.UIStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.simulation.SimulationProfile.UIStereotype
-
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.UIStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NESTEDPROPERTYPATHS
Specify nested property pathsstatic java.lang.String
REPRESENTS
Specify the classifier represented by the configuration.static java.lang.String
SOURCE
Specify the implementation class for the UI component.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUE
Structural feature which value should be represented for the configuration.
-
Constructor Summary
Constructors Modifier Constructor Description protected
UIStereotype(SimulationProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNestedPropertyPaths(Element element, java.lang.String value)
void
addValue(Element element, Element value)
protected void
clear()
void
clearNestedPropertyPaths(Element element)
void
clearRepresents(Element element)
void
clearSource(Element element)
void
clearValue(Element element)
java.util.List<java.lang.String>
getNestedPropertyPaths(Element element)
Property
getNestedPropertyPathsProperty()
Element
getRepresents(Element element)
Property
getRepresentsProperty()
java.lang.String
getSource(Element element)
Property
getSourceProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.util.List<Element>
getValue(Element element)
Property
getValueProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeNestedPropertyPaths(Element element, java.lang.String value)
void
removeValue(Element element, Element value)
void
setNestedPropertyPaths(Element element, java.util.Collection<java.lang.String> value)
void
setRepresents(Element element, Element value)
void
setSource(Element element, java.lang.String value)
void
setValue(Element element, java.util.Collection<? extends Element> value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
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
-
-
Constructor Detail
-
UIStereotype
protected UIStereotype(SimulationProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-