Package com.nomagic.magicdraw.sysml.util
Class AnalysisPatternsProfile.ObjectiveStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.AnalysisPatternsProfile.ObjectiveStereotype
-
- Enclosing class:
- AnalysisPatternsProfile
public static class AnalysisPatternsProfile.ObjectiveStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OBJECTIVE
static java.lang.String
SCALE
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUE
static java.lang.String
WEIGHT
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectiveStereotype(AnalysisPatternsProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearObjective(Element element)
void
clearScale(Element element)
void
clearValue(Element element)
void
clearWeight(Element element)
AnalysisPatternsProfile.objectiveEnum
getObjective(Element element)
Property
getObjectiveProperty()
java.lang.Double
getScale(Element element)
Property
getScaleProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.Double
getValue(Element element)
Property
getValueProperty()
java.lang.Double
getWeight(Element element)
Property
getWeightProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
setObjective(Element element, AnalysisPatternsProfile.objectiveEnum value)
void
setScale(Element element, java.lang.Double value)
void
setValue(Element element, java.lang.Double value)
void
setWeight(Element element, 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
-
OBJECTIVE
public static final java.lang.String OBJECTIVE
- See Also:
- Constant Field Values
-
SCALE
public static final java.lang.String SCALE
- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
- See Also:
- Constant Field Values
-
WEIGHT
public static final java.lang.String WEIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectiveStereotype
protected ObjectiveStereotype(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
-
getObjectiveProperty
@CheckForNull public Property getObjectiveProperty()
-
getScaleProperty
@CheckForNull public Property getScaleProperty()
-
getValueProperty
@CheckForNull public Property getValueProperty()
-
getWeightProperty
@CheckForNull public Property getWeightProperty()
-
setObjective
public void setObjective(Element element, @CheckForNull AnalysisPatternsProfile.objectiveEnum value)
-
clearObjective
public void clearObjective(Element element)
-
getObjective
@CheckForNull public AnalysisPatternsProfile.objectiveEnum getObjective(Element element)
-
setScale
public void setScale(Element element, @CheckForNull java.lang.Double value)
-
clearScale
public void clearScale(Element element)
-
getScale
@CheckForNull public java.lang.Double getScale(Element element)
-
setValue
public void setValue(Element element, @CheckForNull java.lang.Double value)
-
clearValue
public void clearValue(Element element)
-
getValue
@CheckForNull public java.lang.Double getValue(Element element)
-
setWeight
public void setWeight(Element element, @CheckForNull java.lang.Double value)
-
clearWeight
public void clearWeight(Element element)
-
getWeight
@CheckForNull public java.lang.Double getWeight(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-