Class: JavaMappingURL
- Inherits:
-
JavaMappingText
- Object
- JavaMapping
- JavaMappingText
- JavaMappingURL
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2-java/javaMapping.rb
Constant Summary collapse
- MATCHING_UML_NAME =
["URL","URI"]
Instance Attribute Summary
Attributes inherited from JavaMapping
Instance Method Summary collapse
-
#appliesTo?(datatype) ⇒ Boolean
MATCHING_JAVA_NAME=[].
Methods inherited from JavaMappingText
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
MATCHING_JAVA_NAME=[]
338 339 340 341 342 |
# File 'lib/ontomde-uml2-java/javaMapping.rb', line 338 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 |