01: /**
02: *
03: */package com.bostechcorp.cbesb.common.util.etl.model;
04:
05: /**
06: * @author Administrator
07: * current class represents the abstract model
08: * of the Data Source Map TreeNode. Every TreeNode will have
09: * attached a child of this class.
10: *
11: */
12: public abstract class AbstractElement {
13: public enum ElementTypeEnum {
14: TABLE, COLUMN, GROUP
15: }
16:
17: private String name = "";
18:
19: private boolean used = true;
20:
21: public boolean isUsed() {
22: return used;
23: }
24:
25: public void setUsed(boolean used) {
26: this .used = used;
27: }
28:
29: @Override
30: abstract public String toString();
31:
32: /**
33: * @return the name
34: */
35: public String getName() {
36: return name;
37: }
38:
39: /**
40: * @param name the name to set
41: */
42: public void setName(String name) {
43: this .name = name;
44: }
45:
46: public abstract String getMap();
47: }
|