Class: JavaMappingIMG
- Inherits:
-
JavaMappingBLOB
- Object
- JavaMapping
- JavaMappingBLOB
- JavaMappingIMG
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2-java/javaMapping.rb
Constant Summary collapse
- MATCHING_UML_NAME =
["Img","Image"]
Instance Attribute Summary
Attributes inherited from JavaMapping
Instance Method Summary collapse
Methods inherited from JavaMappingBLOB
Methods inherited from JavaMapping
#getGroovyCast, #getJavaType, #getMappings, #getTemplate, #getValidationRegexp, #initialize
Constructor Details
This class inherits a constructor from JavaMapping
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
359 360 361 362 |
# File 'lib/ontomde-uml2-java/javaMapping.rb', line 359 def appliesTo?(datatype) return true if MATCHING_UML_NAME.include?(datatype.uml_name_one) return false end |