tabular-data-table-widget/src/main/java/org/gcube/portlets/user/td/tablewidget/client/validation/tree/FolderDto.java

56 lines
978 B
Java

package org.gcube.portlets.user.td.tablewidget.client.validation.tree;
import java.util.ArrayList;
/**
*
* @author "Giancarlo Panichi"
*
*/
public class FolderDto extends BaseDto {
private static final long serialVersionUID = 4644048540524701598L;
protected String description;
protected ArrayList<BaseDto> childrens;
public FolderDto(){
}
public FolderDto(String id,String description, ArrayList<BaseDto> childrens){
super(id);
this.description=description;
this.childrens=childrens;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ArrayList<BaseDto> getChildren() {
return childrens;
}
public void setChildren(ArrayList<BaseDto> children) {
this.childrens = children;
}
@Override
public String toString() {
return "FolderDto [id="+id+", description=" + description + ", childrens="
+ childrens + "]";
}
}