namespace distributed.rmi5;
interface ClientI
{

}
class Client
{
  depend java.applet.*;
  //isA ClientI;
   id="s";
  //key{id}
  //isA CC;
  public static void method2()
  {

  }
  static int method3()
  {
    return 12;
  }
}
class CC
{
  isA Father;
  public void someMethod1()
  {}
}
class Client
{
  distributable RMI;
}
class Father
{
	public void method1()
	{

	}
}
class Microwave
{
  //isA Client;
	distributable;
	Integer x;
	String f;
  //key{x,f}
	* -- * Client;
}
class Main
{
  public static void main(String[] args)
  {
    Client c = new Client();
    Client c2= new Client(UmpleRuntime.getComponent("component1"));
    Microwave m1= new Microwave(12,"There");
    Microwave m2= new Microwave(1,"Hi");
    c.addMicrowave(m1);
    m2.addClient(c2);
    System.out.println(c2.getMicrowave(0).getF()+c.getMicrowave(0).getF());
  }
  }