Module: Muml_LiteralString
- Defined in:
- lib/ontomde-uml2/umlx.rb
Instance Method Summary collapse
-
#umlx_equalOne? ⇒ Boolean
Returns true if value is equal one NOTE: * IBM RSM uses LiteralUnlimitedNatural * Magicdraw uses LiteralInteger and LiteralString.
- #umlx_equalZero? ⇒ Boolean
Instance Method Details
#umlx_equalOne? ⇒ Boolean
Returns true if value is equal one NOTE:
-
IBM RSM uses LiteralUnlimitedNatural
-
Magicdraw uses LiteralInteger and LiteralString
110 111 112 113 114 |
# File 'lib/ontomde-uml2/umlx.rb', line 110 def umlx_equalOne? #log.debug { "not used ???" } #log.debug { "LS=#{uri} #{uml_value_one}" } return uml_value_one==1 end |
#umlx_equalZero? ⇒ Boolean
115 116 117 118 119 |
# File 'lib/ontomde-uml2/umlx.rb', line 115 def umlx_equalZero? #log.debug { "not used ???" } #log.debug { "LS=#{uri} #{uml_value_one}" } return uml_value_one==0 end |