    001    package com.hammurapi.render.emf;
    002
    003    import java.util.ArrayList;
    004    import java.util.List;
    005
    006    import org.eclipse.emf.ecore.EObject;
    007    import org.eclipse.gmf.runtime.notation.Diagram;
    008
    009    /**
    010     * Class which holds root packages of the model.
    011     * @author Pavel Vlasov
    012     *
    013     */
    014    public class Model {
    015
    016            private List<EObject> rootPackages = new ArrayList<EObject>();
    017            private List<Diagram> diagrams = new ArrayList<Diagram>();
    018
    019            public List<EObject> getRootPackages() {
    020                    return rootPackages;
    021            }
    022
    023            public List<Diagram> getDiagrams() {
    024                    return diagrams;
    025            }
    026    }