Class: DatatypeMappingGenericClass
- Inherits:
-
DatatypeMapping
- Object
- DatatypeMapping
- DatatypeMappingGenericClass
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2/UMLdatatypeMapping.rb,
lib/ontomde-uml2/kb/datatypeMapping.rb
Instance Attribute Summary
Attributes inherited from DatatypeMapping
Instance Method Summary collapse
Methods inherited from DatatypeMapping
#getMapping, #getMappings, #getValidationRegexp, #initialize, #prot_getProtegeType
Constructor Details
This class inherits a constructor from DatatypeMapping
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
309 310 311 312 313 314 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 309 def appliesTo?(datatype) return false if datatype.kind_of?(Muml_Enumeration) return false if datatype.kind_of?(Muml_DataType) #return true if datatype.kind_of?(Muml_Class) return true end |
#getHelp ⇒ Object
317 318 319 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 317 def getHelp return "Any object reference" end |