Module: Mbpm_abstractTransition

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

Instance Method Summary collapse

Instance Method Details

#bpm_DefaultOrTransitionNameObject



159
160
161
162
163
164
165
# File 'lib/ontomde-java/jpdl/jpdl.rb', line 159

def bpm_DefaultOrTransitionName

  if self.bpm_transitionName_one0.nil?
    return "default"
  end
  return self.bpm_transitionName
end

#bpm_writeJPDLObject

write element as XML JPDL



168
169
170
# File 'lib/ontomde-java/jpdl/jpdl.rb', line 168

def bpm_writeJPDL
  bpm_writeSimpleTransition
end

#bpm_writeSimpleTransitionObject



171
172
173
174
175
# File 'lib/ontomde-java/jpdl/jpdl.rb', line 171

def bpm_writeSimpleTransition
  write(%{  <transition name="#{bpm_DefaultOrTransitionName}" to="#{self.bpm_destinationNode_one.bpmNodeName}">\n})
  bpm_writeJPDL_extensions
  write(%{  </transition>\n})
end