Class: JavaMappingBLOB
- Inherits:
-
JavaMapping
- Object
- JavaMapping
- JavaMappingBLOB
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2-java/javaMapping.rb
Direct Known Subclasses
Constant Summary collapse
- MATCHING_UML_NAME =
["Blob"]
Instance Attribute Summary
Attributes inherited from JavaMapping
Instance Method Summary collapse
Methods inherited from JavaMapping
#getGroovyCast, #getMappings, #getTemplate, #getValidationRegexp, #initialize
Constructor Details
This class inherits a constructor from JavaMapping
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
348 349 350 351 |
# File 'lib/ontomde-uml2-java/javaMapping.rb', line 348 def appliesTo?(datatype) return true if MATCHING_UML_NAME.include?(datatype.uml_name_one) return false end |
#getJavaType ⇒ Object
352 353 354 |
# File 'lib/ontomde-uml2-java/javaMapping.rb', line 352 def getJavaType return "byte[]" end |