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: /**
10: * @author Administrator
11: *
12: * TODO To change the template for this generated type comment go to
13: * Window - Preferences - Java - Code Style - Code Templates
14: */
15: public abstract class ComponentSchemaElement {
16:
17: private String title = null;
18:
19: private boolean required = false;
20:
21: public ComponentSchemaElement() {
22: }
23:
24: /**
25: * @return Returns the title.
26: */
27: public String getTitle() {
28: return title;
29: }
30:
31: /**
32: * @param title The title to set.
33: */
34: public void setTitle(String title) {
35: this .title = title;
36: }
37:
38: /**
39: * @return Returns the required.
40: */
41: public boolean isRequired() {
42: return required;
43: }
44:
45: /**
46: * @param required The required to set.
47: */
48: public void setRequired(boolean required) {
49: this.required = required;
50: }
51: }
|