Module: Mbpm_abstractTransition
- Defined in:
- lib/ontomde-uml2-jpdl/jpdl.rb
Instance Method Summary collapse
- #bpm_DefaultOrTransitionName ⇒ Object
-
#bpm_writeJPDL ⇒ Object
write element as XML JPDL.
- #bpm_writeSimpleTransition ⇒ Object
Instance Method Details
#bpm_DefaultOrTransitionName ⇒ Object
159 160 161 162 163 164 165 |
# File 'lib/ontomde-uml2-jpdl/jpdl.rb', line 159 def bpm_DefaultOrTransitionName if self.bpm_transitionName_one0.nil? return "default" end return self.bpm_transitionName end |
#bpm_writeJPDL ⇒ Object
write element as XML JPDL
168 169 170 |
# File 'lib/ontomde-uml2-jpdl/jpdl.rb', line 168 def bpm_writeJPDL bpm_writeSimpleTransition end |
#bpm_writeSimpleTransition ⇒ Object
171 172 173 174 175 |
# File 'lib/ontomde-uml2-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 |