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.SchemaElement;
07:
08: public class RadAction extends RadMember {
09: public RadAction(TreeNodeList iParent, String iName) {
10: super (iParent, iName);
11: }
12:
13: public RadAction(TreeNodeList iParent, String iName,
14: SchemaElement iSchemaAction) {
15: super (iParent, iName);
16: schemaFeatures = iSchemaAction;
17: name = iSchemaAction.getName();
18: }
19:
20: @Override
21: @ViewField(enabled=AnnotationConstants.FALSE)
22: public String getName() {
23: return super .getName();
24: }
25:
26: @ViewField(visible=AnnotationConstants.FALSE)
27: public SchemaElement getSchemaAction() {
28: return (SchemaElement) schemaFeatures;
29: }
30: }
|