Class: Crdfs_Class
- Inherits:
-
Object
- Object
- Crdfs_Class
- Defined in:
- lib/ontomde-uml2-java/meta.rb
Constant Summary collapse
- JAVA_METACLASS_MAPPING =
UML metaclass to java class mapping. Example: An UML metaclass class maps to a java.lang.Class java class. Note:
feature introduced for opencrx.
{ "uml_Class" => "java.lang.Class" }
Instance Method Summary collapse
-
#java_qualifiedName ⇒ Object
returns the java class name for this meta-class.
Instance Method Details
#java_qualifiedName ⇒ Object
returns the java class name for this meta-class. Example:
Note: added for openmdx which uses attributes of type “metaclass-class”.
18 19 20 21 22 23 |
# File 'lib/ontomde-uml2-java/meta.rb', line 18 def java_qualifiedName qn=JAVA_METACLASS_MAPPING[rdf_uri] return qn unless qn.nil? msg="unknown java_qualifiedName for meta-class #{rdf_uri}" return "int /*TODO: #{msg} */" end |