Class: JavaMappingCallback
- Inherits:
-
JavaMapping
- Object
- JavaMapping
- JavaMappingCallback
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2-jpdl/main.rb
Constant Summary collapse
- MATCHING_UML_NAME =
["XmdaCallbackHandler"]
Instance Method Summary collapse
- #appliesTo?(datatype) ⇒ Boolean
- #getJavaParse(jsrc) ⇒ Object
- #getJavaToString(jsrc) ⇒ Object
- #getJavaType ⇒ Object
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
323 324 325 326 327 |
# File 'lib/ontomde-uml2-jpdl/main.rb', line 323 def appliesTo?(datatype) return true if MATCHING_UML_NAME.include?(datatype.uml_name_one) #return true if MATCHING_JAVA_NAME.include?(datatype.java_qualifiedName) return false end |
#getJavaParse(jsrc) ⇒ Object
336 337 338 |
# File 'lib/ontomde-uml2-jpdl/main.rb', line 336 def getJavaParse(jsrc) return "null" end |
#getJavaToString(jsrc) ⇒ Object
333 334 335 |
# File 'lib/ontomde-uml2-jpdl/main.rb', line 333 def getJavaToString(jsrc) return "null" end |
#getJavaType ⇒ Object
329 330 331 |
# File 'lib/ontomde-uml2-jpdl/main.rb', line 329 def getJavaType return "xmda.bpm.api.XmdaCallbackHandler" end |