View Javadoc
1   /*
2    * #%L
3    * EUGene :: EUGene
4    * %%
5    * Copyright (C) 2004 - 2010 CodeLutin
6    * %%
7    * This program is free software: you can redistribute it and/or modify
8    * it under the terms of the GNU Lesser General Public License as 
9    * published by the Free Software Foundation, either version 3 of the 
10   * License, or (at your option) any later version.
11   * 
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Lesser Public License for more details.
16   * 
17   * You should have received a copy of the GNU General Lesser Public 
18   * License along with this program.  If not, see
19   * <http://www.gnu.org/licenses/lgpl-3.0.html>.
20   * #L%
21   */
22  
23  package org.nuiton.eugene.models.object;
24  
25  /**
26   * Abstraction for the root node of object model trees.
27   * This an entry point for browsing a model tree. This object offers
28   * as well several facilities for a direct access to some of the object model elements.
29   *
30   * Created: april 23th 2009
31   *
32   * @author Florian Desbois - desbois@codelutin.com
33   */
34  public interface ObjectModelDependency {
35  
36      /**
37       * Dependency name
38       *
39       * @return a String
40       */
41      String getName();
42  
43      /**
44       * Supplier classifier of the dependency
45       *
46       * @return an ObjectModelClassifier
47       */
48      ObjectModelClassifier getSupplier();
49  
50      /**
51       * Client classifier of the dependency
52       *
53       * @return an ObjectModelClassifier
54       */
55      ObjectModelClassifier getClient();
56  }