Class: JavaMappingLargeText

Inherits:
JavaMappingText show all
Includes:
Singleton
Defined in:
lib/ontomde-uml2-java/javaMapping.rb

Direct Known Subclasses

JavaMappingGRAPHVIZ

Constant Summary collapse

MATCHING_UML_NAME =
["LargeText"]

Instance Attribute Summary

Attributes inherited from JavaMapping

#maxStringLength

Instance Method Summary collapse

Methods inherited from JavaMappingText

#getJavaType

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

Returns:

  • (Boolean)


104
105
106
107
# File 'lib/ontomde-uml2-java/javaMapping.rb', line 104

def appliesTo?(datatype)
  return true if MATCHING_UML_NAME.include?(datatype.uml_name_one)
  return false
end