Class BPMN2Profile.GlobalScriptTaskStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.GlobalScriptTaskStereotype
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.GlobalScriptTaskStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
This attribute is used to uniquely identify BPMN elements.static final String
static final String
static final String
The modeler MAY include a script that can be run when the Task is performed.static final String
Defines the script language.static final String
static final String
The Interfaces describing the external behavior provided by this element. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResources
(Element element, Element value) void
addSupportedInterfacesRefs
(Element element, Element value) protected void
clear()
void
void
clearIoSpecification
(Element element) void
clearResources
(Element element) void
clearScript
(Element element) void
clearScriptLanguage
(Element element) void
clearSupportedInterfacesRefs
(Element element) getIoSpecification
(Element element) getResources
(Element element) getScriptLanguage
(Element element) Returns stereotype for this wrapper.getSupportedInterfacesRefs
(Element element) boolean
static boolean
isInstance
(Element element) void
removeResources
(Element element, Element value) void
removeSupportedInterfacesRefs
(Element element, Element value) void
void
setIoSpecification
(Element element, Element value) void
setResources
(Element element, Collection<? extends Element> value) void
void
setScriptLanguage
(Element element, String value) void
setSupportedInterfacesRefs
(Element element, Collection<? extends Element> value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
SCRIPT
The modeler MAY include a script that can be run when the Task is performed. If a script is not included, then the Task will act equivalent to a TaskType of None.- See Also:
-
SCRIPTLANGUAGE
Defines the script language. The script language MUST be provided if a script is provided.- See Also:
-
RESOURCES
- See Also:
-
IOSPECIFICATION
- See Also:
-
SUPPORTEDINTERFACESREFS
The Interfaces describing the external behavior provided by this element.- See Also:
-
ID
This attribute is used to uniquely identify BPMN elements.- See Also:
-
-
Constructor Details
-
GlobalScriptTaskStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getScriptProperty
-
getScriptLanguageProperty
-
getResourcesProperty
-
getIoSpecificationProperty
-
getSupportedInterfacesRefsProperty
-
getIdProperty
-
setScript
-
clearScript
-
getScript
-
setScriptLanguage
-
clearScriptLanguage
-
getScriptLanguage
-
setResources
-
clearResources
-
addResources
-
removeResources
-
getResources
-
setIoSpecification
-
clearIoSpecification
-
getIoSpecification
-
setSupportedInterfacesRefs
public void setSupportedInterfacesRefs(Element element, @CheckForNull Collection<? extends Element> value) -
clearSupportedInterfacesRefs
-
addSupportedInterfacesRefs
-
removeSupportedInterfacesRefs
-
getSupportedInterfacesRefs
-
setId
-
clearId
-
getId
-
clear
protected void clear() -
is
-
isInstance
-