import java.io.File; /** * @author Alexander Gulko */ public class Category { private String name; private boolean hasChildren; private File file; public Category() { } public Category(String name) { this.name = name; } public Category(File file) { this.file = file; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return name; } public File getFile() { return file; } public void setFile(File file) { this.file = file; } public boolean isHasChildren() { return hasChildren; } public void setHasChildren(boolean hasChildren) { this.hasChildren = hasChildren; } }