D:\NewZebra\JavaApplications\DesignPatternsProject\src\structural_patterns\composite_tree\CompositeNodeBase.java |
1
2
3
4
5
6 package structural_patterns.composite_tree;
7
8
9
10 @author
11
12
13
14 import java.io.*;
15 import java.text.*;
16 import java.util.*;
17 public class CompositeNodeBase {
18
19 public static final int NORMAL_RUN = 0;
20 public static final int NOT_NORMAL_RUN = -1;
21
22 public static CompositeNode ROOT = null;
23
24 public static final String ROOT_NODE_NAME = "ROOT";
25 public static final long ROOT_NODE_ID = -100;
26 public static final long DEFAULT_NODE_ID = -2;
27
28 public final static int STRING_ARRAY_TREE_SERVICE_INDEX = 0;
29 public final static int FILE_FOLDER_TREE_SERVICE_INDEX = 1;
30 public final static int JNDI_TREE_SERVICE_INDEX = 2;
31 public final static int EMAIL_SERVER_TREE_SERVICE_INDEX = 3;
32
33 public final static int MOD_SERVICE_INTEGER = 100;
34
35 public final static String FILE_Separator = "\\";
36 public final static String FILE_Separator_system = File.separator;
37 public final static String FOLDER_PATH = "D:\\Java\\JavaTraining";
38
39
40
41
42 public CompositeNodeBase() {
43 }
44
45 }
46
47