//set up an interface
dmInterface = new ModelItem();
dmInterface.setName("AnInterface");
dmInterface.setType("interface");
IMember dmMethod = new Operation();
dmMethod.setName("myMethod");
dmInterface.addMember(dmMethod);
//set up a implementing class
dmClass = new ModelItem();
dmClass.setName("MyClass");
dmClass.setType("class");
dmClass.addExtendee(dmInterface);//MyClass implements AnInterface
IMember dmClassMethod = new Operation();
dmClassMethod.setName("myMethod");
dmClass.addMember(dmClassMethod);
//!\ an Xtra public Method in the implementing class.
IMember anExtraMethod = new Operation();
anExtraMethod.setModifiers(modifiers);
anExtraMethod.setName("extraMethod");
dmClass.addMember(anExtraMethod);
//putting all together
developersModel = new Model();
developersModel.setType(Model.Type.DM);