Class: DatatypeMappingPassword
- Inherits:
-
DatatypeMappingText
- Object
- DatatypeMapping
- DatatypeMappingText
- DatatypeMappingPassword
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2/UMLdatatypeMapping.rb,
lib/ontomde-uml2/kb/datatypeMapping.rb
Constant Summary collapse
- MATCHING_UML_NAME =
["Password"]
Instance Attribute Summary
Attributes inherited from DatatypeMapping
Instance Method Summary collapse
Methods inherited from DatatypeMappingText
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
390 391 392 393 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 390 def appliesTo?(datatype) return true if MATCHING_UML_NAME.include?(datatype.uml_name_one) return false end |
#getHelp ⇒ Object
395 396 397 |
# File 'lib/ontomde-uml2/UMLdatatypeMapping.rb', line 395 def getHelp return "any String of any length meant to be used as passowrd" end |