Source code: openfuture/masterdata/test/Manufacturer.java
1 package openfuture.masterdata.test;
2
3 import openfuture.masterdata.*;
4 /**
5 * Insert the type's description here.
6 *
7 * Creation date: (11.09.00 15:59:24)
8 * @author: Markus Giebeler
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.<p>
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.<p>
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA<br>
23 * http://www.gnu.org/copyleft/lesser.html"
24 */
25 public class Manufacturer extends MasterData {
26 /**
27 * Manufacturer constructor comment.
28 */
29 public Manufacturer() {
30 super();
31 }
32 /**
33 * Manufacturer constructor comment.
34 * @param id java.lang.String
35 * @param text java.lang.String
36 */
37 public Manufacturer(String id, String text) {
38 super(id, text);
39 }
40 /**
41 * compareTo method comment.
42 */
43 public int compareTo(IMasterData o) {
44 return this.getText().compareTo(o.getText());
45 }
46 }