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.String
PRINCIPAL
Gives the element that determines the values of the property.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdjunctPropertyStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearPrincipal(Element element)
Element
getPrincipal(Element element)
Property
getPrincipalProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setPrincipal(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.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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)
-
-