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, #register
Constructor Details
This class inherits a constructor from DatatypeMapping
Instance Method Details
#appliesTo?(datatype) ⇒ Boolean
319 320 321 322 323 324 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 319 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
327 328 329 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 327 def getHelp return "Any object reference" end |