Class BPMN2Profile.GlobalScriptTaskStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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
Fields Modifier and Type Field Description private BPMN2Profile
_p
static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
IOSPECIFICATION
static java.lang.String
RESOURCES
private Property
script
static java.lang.String
SCRIPT
The modeler MAY include a script that can be run when the Task is performed.private Property
scriptLanguage
static java.lang.String
SCRIPTLANGUAGE
Defines the script language.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
SUPPORTEDINTERFACESREFS
The Interfaces describing the external behavior provided by this element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
GlobalScriptTaskStereotype(BPMN2Profile profile)
-
Method Summary
-
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
-
SCRIPT
public static final java.lang.String 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:
- Constant Field Values
-
SCRIPTLANGUAGE
public static final java.lang.String SCRIPTLANGUAGE
Defines the script language. The script language MUST be provided if a script is provided.- See Also:
- Constant Field Values
-
RESOURCES
public static final java.lang.String RESOURCES
- See Also:
- Constant Field Values
-
IOSPECIFICATION
public static final java.lang.String IOSPECIFICATION
- See Also:
- Constant Field Values
-
SUPPORTEDINTERFACESREFS
public static final java.lang.String SUPPORTEDINTERFACESREFS
The Interfaces describing the external behavior provided by this element.- 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
-
script
@CheckForNull private Property script
-
scriptLanguage
@CheckForNull private Property scriptLanguage
-
-
Constructor Detail
-
GlobalScriptTaskStereotype
protected GlobalScriptTaskStereotype(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
-
getScriptProperty
@CheckForNull public Property getScriptProperty()
-
getScriptLanguageProperty
@CheckForNull public Property getScriptLanguageProperty()
-
getResourcesProperty
@CheckForNull public Property getResourcesProperty()
-
getIoSpecificationProperty
@CheckForNull public Property getIoSpecificationProperty()
-
getSupportedInterfacesRefsProperty
@CheckForNull public Property getSupportedInterfacesRefsProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setScript
public void setScript(Element element, @CheckForNull java.lang.String value)
-
clearScript
public void clearScript(Element element)
-
getScript
@CheckForNull public java.lang.String getScript(Element element)
-
setScriptLanguage
public void setScriptLanguage(Element element, @CheckForNull java.lang.String value)
-
clearScriptLanguage
public void clearScriptLanguage(Element element)
-
getScriptLanguage
@CheckForNull public java.lang.String getScriptLanguage(Element element)
-
setResources
public void setResources(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearResources
public void clearResources(Element element)
-
clearIoSpecification
public void clearIoSpecification(Element element)
-
setSupportedInterfacesRefs
public void setSupportedInterfacesRefs(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearSupportedInterfacesRefs
public void clearSupportedInterfacesRefs(Element element)
-
removeSupportedInterfacesRefs
public void removeSupportedInterfacesRefs(Element element, Element value)
-
getSupportedInterfacesRefs
public java.util.List<Element> getSupportedInterfacesRefs(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)
-
-