Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: openfuture/masterdata/IMasterDataContainer.java


1   package openfuture.masterdata;
2   
3   import java.util.*;
4   import java.io.Serializable;
5   
6   /**
7    * This interface defines the services a Master Data Container must implement.
8    * A Master Data Container is responsible to maintain the Master Data in a list
9    * and select a (language dependent) subset of them to be passed from the service
10   * to the provider.
11   * 
12   * Creation date: (10.09.00 09:32:25)
13   * @author: Markus Giebeler
14   *
15   * This library is free software; you can redistribute it and/or
16   * modify it under the terms of the GNU Lesser General Public
17   * License as published by the Free Software Foundation; either
18   * version 2 of the License, or (at your option) any later version.<p>
19   *
20   * This library is distributed in the hope that it will be useful,
21   * but WITHOUT ANY WARRANTY; without even the implied warranty of
22   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23   * Lesser General Public License for more details.<p>
24   *
25   * You should have received a copy of the GNU Lesser General Public
26   * License along with this library; if not, write to the Free Software
27   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<br>
28   * http://www.gnu.org/copyleft/lesser.html"
29   */
30  public interface IMasterDataContainer extends Serializable {
31  /**
32   * return the contained data
33   * 
34   * Creation date: (10.09.00 10:10:44)
35   * @return Vector
36   */
37  public Vector getData();
38  /**
39   * Provides another container with master data for the given language
40   * 
41   * Creation date: (10.09.00 10:10:44)
42   * @return IMasterDataContainer
43   * @param language java.lang.String
44   */
45  public IMasterDataContainer getMasterData(String language);
46  /**
47   * indicates if this container can provide data for a given language.
48   * 
49   * Creation date: (10.09.00 10:10:44)
50   * @return boolean
51   * @param language java.lang.String
52   */
53  public boolean hasMasterData(String language);
54  /**
55   * Insert the method's description here.
56   * 
57   * Creation date: (10.09.00 10:10:44)
58   * @return boolean
59   * @param language java.lang.String
60   */
61  public void setLanguage(String language);
62  }