Class: DatatypeMappingGRAPHVIZ
- Inherits:
-
DatatypeMappingLargeText
- Object
- DatatypeMapping
- DatatypeMappingText
- DatatypeMappingLargeText
- DatatypeMappingGRAPHVIZ
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2/UMLdatatypeMapping.rb,
lib/ontomde-uml2/kb/datatypeMapping.rb
Constant Summary collapse
- MATCHING_UML_NAME =
["graphviz"]
Constants inherited from DatatypeMappingLargeText
DatatypeMappingLargeText::HELPMSG
Instance Attribute Summary
Attributes inherited from DatatypeMapping
Instance Method Summary collapse
Methods inherited from DatatypeMappingLargeText
Methods inherited from DatatypeMappingText
#initialize, #prot_getProtegeType
Methods inherited from DatatypeMapping
#getMapping, #getMappings, #getValidationRegexp, #initialize, #prot_getProtegeType, #register
Constructor Details
This class inherits a constructor from DatatypeMappingLargeText
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
388 389 390 391 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 388 def appliesTo?(datatype) return true if MATCHING_UML_NAME.include?(datatype.uml_name_one.downcase) return false end |
#getHelp ⇒ Object
392 393 394 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 392 def getHelp return "Any graphivz dot file" end |