Class BPMN2Profile.TimerEventDefinitionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.TimerEventDefinitionStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.TimerEventDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TIMECYCLE
If the trigger is a Timer, then a timeCycle MAY be entered.static java.lang.String
TIMEDATE
If the trigger is a Timer, then a timeDate MAY be entered.static java.lang.String
TIMEDURATION
If the trigger is a Timer, then a timeDuration MAY be entered.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TimerEventDefinitionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearId(Element element)
void
clearTimeCycle(Element element)
void
clearTimeDate(Element element)
void
clearTimeDuration(Element element)
java.lang.String
getId(Element element)
Property
getIdProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getTimeCycle(Element element)
Property
getTimeCycleProperty()
java.lang.String
getTimeDate(Element element)
Property
getTimeDateProperty()
java.lang.String
getTimeDuration(Element element)
Property
getTimeDurationProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
setId(Element element, java.lang.String value)
void
setTimeCycle(Element element, java.lang.String value)
void
setTimeDate(Element element, java.lang.String value)
void
setTimeDuration(Element element, java.lang.String 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
-
TIMECYCLE
public static final java.lang.String TIMECYCLE
If the trigger is a Timer, then a timeCycle MAY be entered. Timer attributes are mutually exclusive and if any of the other Timer attributes is set, timeCycle MUST NOT be set (if the isExecutable attribute of the Process is set to true). The return type of the attribute timeCycle MUST conform to the ISO-8601 format for recurring time interval representations.- See Also:
- Constant Field Values
-
TIMEDATE
public static final java.lang.String TIMEDATE
If the trigger is a Timer, then a timeDate MAY be entered. Timer attributes are mutually exclusive and if any of the other Timer attributes is set, timeDate MUST NOT be set (if the isExecutable attribute of the Process is set to true). The return type of the attribute timeDate MUST conform to the ISO-8601 format for date and time representations.- See Also:
- Constant Field Values
-
TIMEDURATION
public static final java.lang.String TIMEDURATION
If the trigger is a Timer, then a timeDuration MAY be entered. Timer attributes are mutually exclusive and if any of the other Timer attributes is set, timeDuration MUST NOT be set (if the isExecutable attribute of the Process is set to true). The return type of the attribute timeDuration MUST conform to the ISO-8601 format for time interval representations.- 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
-
-
Constructor Detail
-
TimerEventDefinitionStereotype
protected TimerEventDefinitionStereotype(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
-
getTimeCycleProperty
@CheckForNull public Property getTimeCycleProperty()
-
getTimeDateProperty
@CheckForNull public Property getTimeDateProperty()
-
getTimeDurationProperty
@CheckForNull public Property getTimeDurationProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setTimeCycle
public void setTimeCycle(Element element, @CheckForNull java.lang.String value)
-
clearTimeCycle
public void clearTimeCycle(Element element)
-
getTimeCycle
@CheckForNull public java.lang.String getTimeCycle(Element element)
-
setTimeDate
public void setTimeDate(Element element, @CheckForNull java.lang.String value)
-
clearTimeDate
public void clearTimeDate(Element element)
-
getTimeDate
@CheckForNull public java.lang.String getTimeDate(Element element)
-
setTimeDuration
public void setTimeDuration(Element element, @CheckForNull java.lang.String value)
-
clearTimeDuration
public void clearTimeDuration(Element element)
-
getTimeDuration
@CheckForNull public java.lang.String getTimeDuration(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()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-