01: package org.romaframework.module.designer.domain;
02:
03: import org.romaframework.aspect.core.annotation.AnnotationConstants;
04: import org.romaframework.aspect.view.annotation.ViewField;
05: import org.romaframework.core.domain.type.TreeNodeList;
06: import org.romaframework.core.schema.SchemaFeatures;
07:
08: public abstract class RadElement extends TreeNodeList {
09: @ViewField(visible=AnnotationConstants.FALSE)
10: protected SchemaFeatures schemaFeatures;
11: @ViewField(enabled=AnnotationConstants.FALSE)
12: private short visibility;
13: @ViewField(enabled=AnnotationConstants.FALSE)
14: private boolean finalMember;
15:
16: public SchemaFeatures getSchemaFeatures() {
17: return schemaFeatures;
18: }
19:
20: public RadElement() {
21: super ("");
22: }
23:
24: public RadElement(String iName) {
25: super (iName);
26: }
27:
28: public RadElement(TreeNodeList iPArent, String iName) {
29: super (iPArent, iName);
30: }
31:
32: public boolean isFinalMember() {
33: return finalMember;
34: }
35:
36: public void setFinalMember(boolean finalMember) {
37: this .finalMember = finalMember;
38: }
39:
40: public short getVisibility() {
41: return visibility;
42: }
43:
44: public void setVisibility(short visibility) {
45: this.visibility = visibility;
46: }
47: }
|