<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13423</id>
	<title>Nabble - Sun - Jmi-Interest</title>
	<updated>2008-09-01T19:55:40Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Sun---Jmi-Interest-f13423.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Sun---Jmi-Interest-f13423.html" />
	<subtitle type="html">Discussion list for Java Metadata Interface</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19263561</id>
	<title>New to JMI</title>
	<published>2008-09-01T19:55:40Z</published>
	<updated>2008-09-01T19:55:40Z</updated>
	<author>
		<name>bikkie</name>
	</author>
	<content type="html">Hello All,
&lt;br&gt;&lt;br&gt;i am new to JMI. i want some tutorials help from you.
&lt;br&gt;i want to know the limitations of JMI and advantages over other technlogies,
&lt;br&gt;also i want some sample examples and some important classes and packages
&lt;br&gt;from API.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;vikas
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-to-JMI-tp19263561p19263561.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-12162384</id>
	<title>Are there any Java Classes or Interfaces for XMI? Does JMI produces one?</title>
	<published>2007-08-15T07:35:50Z</published>
	<updated>2007-08-15T07:35:50Z</updated>
	<author>
		<name>ambi ambi</name>
	</author>
	<content type="html">&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;q&quot; id=&quot;q_11469a97976072dd_2&quot;&gt;I am a postgraduate researcher and would like to know if there are any
Java Classes or Interfaces for XMI?&lt;/span&gt;&lt;/p&gt;



&lt;p&gt;I had a look at Java JMI but could not understand if it will fulfill my requirement. &lt;br&gt;&lt;/p&gt;

&lt;p&gt;Allow me explain the requirements using a simple example.&lt;/p&gt;





&lt;p&gt;Create a UML Activity diagram in a UML editor. To keep
things simple just make one activity state in the diagram and generate the corresponding XMI file.&lt;/p&gt;



&lt;p&gt;&amp;nbsp;Now note the following elements in the generated XMI file&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&amp;lt;UML:Model xmi.id=&amp;quot;S.1&amp;quot;
name=&amp;quot;Project&amp;quot; visibility=&amp;quot;public&amp;quot;&amp;gt;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&amp;lt;UML:ActivityGraph xmi.id=&amp;quot;S.2&amp;quot;
name=&amp;quot;State/Activity Model&amp;quot; visibility=&amp;quot;public&amp;quot;
isSpecification=&amp;quot;true&amp;quot;&amp;gt;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;br&gt;&amp;lt;UML:ActionState xmi.id=&amp;quot;G.0&amp;quot;
name=&amp;quot;Activity1&amp;quot; visibility=&amp;quot;package&amp;quot;
isSpecification=&amp;quot;false&amp;quot; isDynamic=&amp;quot;false&amp;quot;&amp;gt;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;br&gt;My requirement is a set of Java Interfaces or classes for
each of the elements of the XMI file, for example for the above three elements
we can have following classes:&lt;/p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;public class UMLModel{&lt;/span&gt;

&lt;p&gt;private String xmiid;&lt;/p&gt;

&lt;p&gt;private String name;&lt;/p&gt;

&lt;p&gt;private String visibility;&lt;/p&gt;



&lt;p&gt;//getter and setter methods&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;public class UMLActivityGraph extends UMLModel{&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;private String isSpecification;&lt;/p&gt;



&lt;p&gt;//getter and setter methods&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;



&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;public class UMLActionState extends UMLActivityGraph{&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;private String isDynamic;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;//getter and setter methods&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;I can create my own classes for all elements but before I do
that I wanted to make sure that a standard set of classes or interfaces for the
XMI file contents do not exist.&lt;/p&gt;I have
already spent quite a bit of time in searching and looking at Java JMI but
without any success, so any pointers would be helpful and much appreciated.&lt;p&gt;Thanks and Regards&lt;/p&gt;&lt;span class=&quot;sg&quot;&gt;&lt;p&gt;Ambi.&lt;/p&gt;&lt;/span&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Are-there-any-Java-Classes-or-Interfaces-for-XMI--Does-JMI-produces-one--tp12162384p12162384.html" />
</entry>

</feed>
