Class BPMN2Profile.AssignmentStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.AssignmentStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.AssignmentStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
from
static java.lang.String
FROM
static java.lang.String
STEREOTYPE_NAME
private Property
to
static java.lang.String
TO
-
Constructor Summary
Constructors Modifier Constructor Description protected
AssignmentStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearFrom(Element element)
void
clearTo(Element element)
Element
getFrom(Element element)
Property
getFromProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.Element
getTo(Element element)
Property
getToProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
setFrom(Element element, Element value)
void
setTo(Element element, Element 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
-
FROM
public static final java.lang.String FROM
- See Also:
- Constant Field Values
-
TO
public static final java.lang.String TO
- See Also:
- Constant Field Values
-
_p
private final BPMN2Profile _p
-
from
@CheckForNull private Property from
-
to
@CheckForNull private Property to
-
-
Constructor Detail
-
AssignmentStereotype
protected AssignmentStereotype(BPMN2Profile 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
-
getFromProperty
@CheckForNull public Property getFromProperty()
-
getToProperty
@CheckForNull public Property getToProperty()
-
clearFrom
public void clearFrom(Element element)
-
clearTo
public void clearTo(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)
-
-