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  public class Card {
20  
21  	private String name;
22  
23  	private String status;
24  
25  	public Card(String name, String status) {
26  		this.name = name;
27  		this.status = status;
28  	}
29  
30  	public String getName() {
31  		return name;
32  	}
33  
34  	public void setName(String name) {
35  		this.name = name;
36  	}
37  
38  	public String getStatus() {
39  		return status;
40  	}
41  
42  	public void setStatus(String status) {
43  		this.status = status;
44  	}
45  
46  	public String toString() {
47  		return name + " = " + status; //$NON-NLS-1$
48  	}
49  
50  }