package com.platform.entities; import java.util.ArrayList; import java.util.List; public class FolderNode { private String name; private int isFolder; // 1 is file and other integer is folder show children number private String path; private List childNodes = new ArrayList(); public FolderNode() { // TODO Auto-generated constructor stub } public FolderNode(String name) { this.name = name; } public FolderNode(String name, int isFolder) { this.name = name; this.isFolder = isFolder; } public String getName() { return name; } public void setName(String name) { this.name = name; } /** * @return the isFolder */ public int getIsFolder() { return isFolder; } /** * @param isFolder the isFolder to set */ public void setIsFolder(int isFolder) { this.isFolder = isFolder; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public List getChildNodes() { return childNodes; } public void setChildNodes(List childNodes) { this.childNodes = childNodes; } }