01: /*
02: * Created on Oct 30, 2004
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package org.xdev.base.schema;
08:
09: import java.util.HashMap;
10:
11: import org.xdev.base.core.object.Configuration;
12:
13: /**
14: * @author Administrator
15: *
16: * TODO To change the template for this generated type comment go to
17: * Window - Preferences - Java - Code Style - Code Templates
18: */
19: public abstract class AbstractComponentSchema extends Configuration {
20:
21: private Class componentType = null;
22:
23: /**
24: * @param id
25: * @param properties
26: */
27: public AbstractComponentSchema(String id, HashMap properties,
28: Class componentType) {
29: super (id, properties);
30:
31: this .componentType = componentType;
32: }
33:
34: /**
35: * @return Returns the componentType.
36: */
37: public Class getComponentType() {
38: return componentType;
39: }
40:
41: /**
42: * @param componentType The componentType to set.
43: */
44: public void setComponentType(Class componentType) {
45: this .componentType = componentType;
46: }
47:
48: public abstract SchemaProperty[] getSchemaProperties();
49:
50: public abstract SchemaChild[] getSchemaChildren();
51: }
|