View Javadoc

1   /*
2    *  Copyright 2006 the 3Ddesktop-Configurator Team, all rights reserved.
3    *  
4    *  This file is part of 3Ddesktop-Configurator.
5    *  3Ddesktop-Configurator is free software; you can redistribute it and/or modify
6    *  it under the terms of the GNU General Public License as published by
7    *  the Free Software Foundation; either version 2 of the License.
8    *  3ddesktop-configurator is distributed in the hope that it will be useful,
9    *  but WITHOUT ANY WARRANTY; without even the implied warranty of
10   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   *  GNU General Public License for more details.
12   *  You should have received a copy of the GNU General Public License
13   *  along with 3Ddesktop-Configurator; if not, write to the Free Software
14   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15   */
16  
17  package net.sf.glxdesktop.hdlparser;
18  
19  import java.util.List;
20  
21  public class Vendor {
22  
23  	private String name;
24  
25  	private List packagesList;
26  
27  	private List cardList;
28  
29  	private String xglOptions;
30  
31  	public Vendor(String name, List packageList, List cardList,
32  			String xglOptions) {
33  		this.name = name;
34  		this.packagesList = packageList;
35  		this.cardList = cardList;
36  		this.xglOptions = xglOptions;
37  	}
38  
39  	public List getcardList() {
40  		return cardList;
41  	}
42  
43  	public void setcardList(List cardList) {
44  		this.cardList = cardList;
45  	}
46  
47  	public String getName() {
48  		return name;
49  	}
50  
51  	public void setName(String name) {
52  		this.name = name;
53  	}
54  
55  	public List getPackagesList() {
56  		return packagesList;
57  	}
58  
59  	public void setPackagesList(List packagesList) {
60  		this.packagesList = packagesList;
61  	}
62  
63  	public String getXglOptions() {
64  		return xglOptions;
65  	}
66  
67  	public void setXglOptions(String xglOptions) {
68  		this.xglOptions = xglOptions;
69  	}
70  
71  	public String toString() {
72  		return "\n" + Messages.getString("Vendor.1") + "\t: " + name + "\n" + Messages.getString("Vendor.4") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
73  				+ "\t: " + packagesList + "\n" + Messages.getString("Vendor.7") + "\t\t: " //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
74  				+ cardList + "\n" + Messages.getString("Vendor.0") + "\t: " + xglOptions + "\n"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
75  	}
76  
77  }