Class ModelTransformationProfile.TypeMapStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.modeltransformations.ModelTransformationProfile.TypeMapStereotype
-
- Enclosing class:
- ModelTransformationProfile
public static class ModelTransformationProfile.TypeMapStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULTDIRECTION
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypeMapStereotype(ModelTransformationProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearDefaultDirection(Element element)
ModelTransformationProfile.directionKindEnum
getDefaultDirection(Element element)
Property
getDefaultDirectionProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setDefaultDirection(Element element, ModelTransformationProfile.directionKindEnum value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
DEFAULTDIRECTION
public static final java.lang.String DEFAULTDIRECTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TypeMapStereotype
protected TypeMapStereotype(ModelTransformationProfile 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
-
getDefaultDirectionProperty
@CheckForNull public Property getDefaultDirectionProperty()
-
setDefaultDirection
public void setDefaultDirection(Element element, @CheckForNull ModelTransformationProfile.directionKindEnum value)
-
clearDefaultDirection
public void clearDefaultDirection(Element element)
-
getDefaultDirection
@CheckForNull public ModelTransformationProfile.directionKindEnum getDefaultDirection(Element element)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-