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.StringOBJECTIVEstatic java.lang.StringSCALEstatic java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringVALUEstatic java.lang.StringWEIGHT
-
Constructor Summary
Constructors Modifier Constructor Description protectedObjectiveStereotype(AnalysisPatternsProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearObjective(Element element)voidclearScale(Element element)voidclearValue(Element element)voidclearWeight(Element element)AnalysisPatternsProfile.objectiveEnumgetObjective(Element element)PropertygetObjectiveProperty()java.lang.DoublegetScale(Element element)PropertygetScaleProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.lang.DoublegetValue(Element element)PropertygetValueProperty()java.lang.DoublegetWeight(Element element)PropertygetWeightProperty()booleanis(Element element)static booleanisInstance(Element element)voidsetObjective(Element element, AnalysisPatternsProfile.objectiveEnum value)voidsetScale(Element element, java.lang.Double value)voidsetValue(Element element, java.lang.Double value)voidsetWeight(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-