Package com.nomagic.magicdraw.sysml.util
Class AnalysisPatternsProfile.DesignVariableStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.AnalysisPatternsProfile.DesignVariableStereotype
-
- Enclosing class:
- AnalysisPatternsProfile
public static class AnalysisPatternsProfile.DesignVariableStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASELINE
static java.lang.String
MAX
static java.lang.String
MIN
Specify the minimum value that a Design Variable can reach.static java.lang.String
NUMBEROFPOINTS
static java.lang.String
RELATION
static java.lang.String
STEP
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description protected
DesignVariableStereotype(AnalysisPatternsProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValues(Element element, java.lang.Double value)
protected void
clear()
void
clearBaseline(Element element)
void
clearMax(Element element)
void
clearMin(Element element)
void
clearNumberOfPoints(Element element)
void
clearRelation(Element element)
void
clearStep(Element element)
void
clearValues(Element element)
java.lang.Double
getBaseline(Element element)
Property
getBaselineProperty()
java.lang.Double
getMax(Element element)
Property
getMaxProperty()
java.lang.Double
getMin(Element element)
Property
getMinProperty()
java.lang.Integer
getNumberOfPoints(Element element)
Property
getNumberOfPointsProperty()
AnalysisPatternsProfile.relationEnum
getRelation(Element element)
Property
getRelationProperty()
java.lang.Double
getStep(Element element)
Property
getStepProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.util.List<java.lang.Double>
getValues(Element element)
Property
getValuesProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeValues(Element element, java.lang.Double value)
void
setBaseline(Element element, java.lang.Double value)
void
setMax(Element element, java.lang.Double value)
void
setMin(Element element, java.lang.Double value)
void
setNumberOfPoints(Element element, java.lang.Integer value)
void
setRelation(Element element, AnalysisPatternsProfile.relationEnum value)
void
setStep(Element element, java.lang.Double value)
void
setValues(Element element, java.util.Collection<java.lang.Double> 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
-
BASELINE
public static final java.lang.String BASELINE
- See Also:
- Constant Field Values
-
MAX
public static final java.lang.String MAX
- See Also:
- Constant Field Values
-
MIN
public static final java.lang.String MIN
Specify the minimum value that a Design Variable can reach.- See Also:
- Constant Field Values
-
NUMBEROFPOINTS
public static final java.lang.String NUMBEROFPOINTS
- See Also:
- Constant Field Values
-
RELATION
public static final java.lang.String RELATION
- See Also:
- Constant Field Values
-
STEP
public static final java.lang.String STEP
- See Also:
- Constant Field Values
-
VALUES
public static final java.lang.String VALUES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DesignVariableStereotype
protected DesignVariableStereotype(AnalysisPatternsProfile 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
-
getBaselineProperty
@CheckForNull public Property getBaselineProperty()
-
getMaxProperty
@CheckForNull public Property getMaxProperty()
-
getMinProperty
@CheckForNull public Property getMinProperty()
-
getNumberOfPointsProperty
@CheckForNull public Property getNumberOfPointsProperty()
-
getRelationProperty
@CheckForNull public Property getRelationProperty()
-
getStepProperty
@CheckForNull public Property getStepProperty()
-
getValuesProperty
@CheckForNull public Property getValuesProperty()
-
setBaseline
public void setBaseline(Element element, @CheckForNull java.lang.Double value)
-
clearBaseline
public void clearBaseline(Element element)
-
getBaseline
@CheckForNull public java.lang.Double getBaseline(Element element)
-
setMax
public void setMax(Element element, @CheckForNull java.lang.Double value)
-
clearMax
public void clearMax(Element element)
-
getMax
@CheckForNull public java.lang.Double getMax(Element element)
-
setMin
public void setMin(Element element, @CheckForNull java.lang.Double value)
-
clearMin
public void clearMin(Element element)
-
getMin
@CheckForNull public java.lang.Double getMin(Element element)
-
setNumberOfPoints
public void setNumberOfPoints(Element element, @CheckForNull java.lang.Integer value)
-
clearNumberOfPoints
public void clearNumberOfPoints(Element element)
-
getNumberOfPoints
@CheckForNull public java.lang.Integer getNumberOfPoints(Element element)
-
setRelation
public void setRelation(Element element, @CheckForNull AnalysisPatternsProfile.relationEnum value)
-
clearRelation
public void clearRelation(Element element)
-
getRelation
@CheckForNull public AnalysisPatternsProfile.relationEnum getRelation(Element element)
-
setStep
public void setStep(Element element, @CheckForNull java.lang.Double value)
-
clearStep
public void clearStep(Element element)
-
getStep
@CheckForNull public java.lang.Double getStep(Element element)
-
setValues
public void setValues(Element element, @CheckForNull java.util.Collection<java.lang.Double> value)
-
clearValues
public void clearValues(Element element)
-
addValues
public void addValues(Element element, java.lang.Double value)
-
removeValues
public void removeValues(Element element, java.lang.Double value)
-
getValues
public java.util.List<java.lang.Double> getValues(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-