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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearObjective(Element element) voidclearScale(Element element) voidclearValue(Element element) voidclearWeight(Element element) getObjective(Element element) Returns stereotype for this wrapper.booleanChecks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element) voidsetObjective(Element element, AnalysisPatternsProfile.objectiveEnum value) voidvoidvoidMethods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
OBJECTIVE
- See Also:
-
SCALE
- See Also:
-
VALUE
- See Also:
-
WEIGHT
- See Also:
-
-
Constructor Details
-
ObjectiveStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getObjectiveProperty
-
getScaleProperty
-
getValueProperty
-
getWeightProperty
-
setObjective
public void setObjective(Element element, @CheckForNull AnalysisPatternsProfile.objectiveEnum value) -
clearObjective
-
getObjective
-
setScale
-
clearScale
-
getScale
-
setValue
-
clearValue
-
getValue
-
setWeight
-
clearWeight
-
getWeight
-
clear
protected void clear() -
is
Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Specified by:
isin classProfileImplementation.StereotypeWrapper- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
-