01: package com.technoetic.xplanner.file;
02:
03: import com.technoetic.xplanner.domain.Identifiable;
04:
05: import java.util.Set;
06:
07: public class Directory implements Identifiable {
08: private int id;
09: private String name;
10: private Set subdirectories;
11: private Set files;
12: private Directory parent;
13:
14: public int getId() {
15: return id;
16: }
17:
18: protected void setId(int id) {
19: this .id = id;
20: }
21:
22: public String getName() {
23: return name;
24: }
25:
26: public void setName(String name) {
27: this .name = name;
28: }
29:
30: public Directory getParent() {
31: return parent;
32: }
33:
34: public void setParent(Directory parent) {
35: this .parent = parent;
36: }
37:
38: public Set getSubdirectories() {
39: return subdirectories;
40: }
41:
42: public void setSubdirectories(Set subdirectories) {
43: this .subdirectories = subdirectories;
44: }
45:
46: public Set getFiles() {
47: return files;
48: }
49:
50: public void setFiles(Set files) {
51: this.files = files;
52: }
53: }
|