Class BPMN2Profile.PartnerRoleStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.PartnerRoleStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.PartnerRoleStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.private Property
participantRef
static java.lang.String
PARTICIPANTREF
Specifies how the PartnerRole participates in Collaborations and Choreographiesstatic java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
PartnerRoleStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParticipantRef(Element element, Element value)
protected void
clear()
void
clearId(Element element)
void
clearParticipantRef(Element element)
java.lang.String
getId(Element element)
Property
getIdProperty()
java.util.List<Element>
getParticipantRef(Element element)
Property
getParticipantRefProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeParticipantRef(Element element, Element value)
void
setId(Element element, java.lang.String value)
void
setParticipantRef(Element element, java.util.Collection<? extends 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
-
PARTICIPANTREF
public static final java.lang.String PARTICIPANTREF
Specifies how the PartnerRole participates in Collaborations and Choreographies- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
This attribute is used to uniquely identify BPMN elements.- See Also:
- Constant Field Values
-
_p
private final BPMN2Profile _p
-
participantRef
@CheckForNull private Property participantRef
-
-
Constructor Detail
-
PartnerRoleStereotype
protected PartnerRoleStereotype(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
-
getParticipantRefProperty
@CheckForNull public Property getParticipantRefProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setParticipantRef
public void setParticipantRef(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearParticipantRef
public void clearParticipantRef(Element element)
-
setId
public void setId(Element element, @CheckForNull java.lang.String value)
-
clearId
public void clearId(Element element)
-
getId
@CheckForNull public java.lang.String getId(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)
-
-