Class: Ckb_UML_METACLASS

Inherits:
Crdfs_Class show all
Defined in:
lib/ontomde-java/kbjava/rdfToJava.rb

Constant Summary

Constants inherited from Crdfs_Class

Crdfs_Class::JAVA_METACLASS_MAPPING

Instance Method Summary collapse

Methods inherited from Crdfs_Class

#java_qualifiedName, #kbjava_aliasName, #kbjava_isPublic?, #kbjava_umlSourceModel, #kbjava_uml_property_values, #kbjava_varName, #kbjava_writeJavaObject, #kbjava_writeJavaObjectSetter, #kbjava_writeJavaObjectSetters

Instance Method Details

#kbjava_uml_model_element(umlSourceModelParam) ⇒ Object



159
160
161
162
163
164
165
166
167
168
# File 'lib/ontomde-java/kbjava/rdfToJava.rb', line 159

def kbjava_uml_model_element(umlSourceModelParam)
  r=umlSourceModelParam[::UriNamespace.instance.urialias(@kb_UML_URI.to_s)]
  return r unless r.nil?
  
  # not found but it is normal
  return nil if Mrdf_Repository::SOA_URI_SET.include?(@kb_UML_URI.to_s) 
  
  puts("WARNING: uml item not found for uri=--#{@kb_UML_URI}--")
  return nil
end