01: package sample.dms;
02:
03: /**
04: *
05: * @author Ben Alex
06: * @version $Id: Directory.java 1784 2007-02-24 21:00:24Z luke_t $
07: *
08: */
09: public class Directory extends AbstractElement {
10: public static final Directory ROOT_DIRECTORY = new Directory();
11:
12: private Directory() {
13: super ();
14: }
15:
16: public Directory(String name, Directory parent) {
17: super (name, parent);
18: }
19:
20: public String toString() {
21: return "Directory[fullName='" + getFullName() + "'; name='"
22: + getName() + "'; id='" + getId() + "'; parent='"
23: + getParent() + "']";
24: }
25:
26: }
|