Module: Mbpm_timeOutTransition

Defined in:
lib/ontomde-uml2-jpdl/jpdl.rb

Instance Method Summary collapse

Instance Method Details

#bpm_writeJPDLObject



180
181
182
183
184
185
186
187
# File 'lib/ontomde-uml2-jpdl/jpdl.rb', line 180

def bpm_writeJPDL
  businessUnit = ""
  if self.bpm_timeOutIsBusinessDuration?
    businessUnit = "business "
  end
  write(%{  <timer name=\"#{bpm_DefaultOrTransitionName}\" duedate=\"#{bpm_timeOutDuration} #{businessUnit}#{bpm_timeOutUnit}\" transition=\"#{bpm_DefaultOrTransitionName}\" />\n})
  bpm_writeSimpleTransition
end