Class: DatatypeMappingGenericEnum
- Inherits:
-
DatatypeMapping
- Object
- DatatypeMapping
- DatatypeMappingGenericEnum
- 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
335 336 337 338 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 335 def appliesTo?(datatype) return true if datatype.kind_of?(Muml_Enumeration) return false end |
#getHelp ⇒ Object
340 341 342 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 340 def getHelp return "Any enumerated value" end |