Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.AdjunctPropertyStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.AdjunctPropertyStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.AdjunctPropertyStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRINCIPALGives the element that determines the values of the property.static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedAdjunctPropertyStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearPrincipal(Element element)ElementgetPrincipal(Element element)PropertygetPrincipalProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetPrincipal(Element element, Element 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
-
PRINCIPAL
public static final java.lang.String PRINCIPAL
Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdjunctPropertyStereotype
protected AdjunctPropertyStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getPrincipalProperty
@CheckForNull public Property getPrincipalProperty()
-
clearPrincipal
public void clearPrincipal(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-