2015-10-21 14:23:00 +00:00
|
|
|
package com.coder.client.gui.selectProject;
|
|
|
|
|
|
2015-10-22 14:08:31 +00:00
|
|
|
class ProjectListItem {
|
|
|
|
|
private String name;
|
2015-10-21 14:23:00 +00:00
|
|
|
private String type;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
public ProjectListItem(String projectName, String type, String description) {
|
2015-10-22 14:08:31 +00:00
|
|
|
this.name = projectName;
|
2015-10-21 14:23:00 +00:00
|
|
|
this.type = type;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-22 14:08:31 +00:00
|
|
|
public String getName(){
|
|
|
|
|
return this.name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getType(){
|
|
|
|
|
return this.type;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription(){
|
|
|
|
|
return this.description;
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-21 14:23:00 +00:00
|
|
|
public String toString(){
|
2015-10-22 14:08:31 +00:00
|
|
|
return "PROJECT: ProjectName="+name+", type="+type+", description="+description;
|
2015-10-21 14:23:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|