Module: Mrdf_Resource

Defined in:
lib/ontomde-uml2-kbjava/rdfToJava.rb

Instance Method Summary collapse

Instance Method Details

#kbjava_isUmlObject?Boolean

Returns:

  • (Boolean)


317
318
319
320
321
322
323
324
# File 'lib/ontomde-uml2-kbjava/rdfToJava.rb', line 317

def kbjava_isUmlObject?
  c=self
  # filters out Protege meta-model element
  return false if (c.kind_of?(Ckb_UML_METACLASS))||(c.kind_of?(Ckb_UML_SLOT))
  # filters out rdf root elements
  return false if (c.class==Crdf_Resource) || (c.class==Crdf_Property)
  return true
end