01: package org.drools.lang.descr;
02:
03: public class FieldTemplateDescr extends BaseDescr {
04:
05: private static final long serialVersionUID = 400L;
06: private String name;
07: private String classType;
08:
09: public FieldTemplateDescr() {
10: this (null, null);
11: }
12:
13: public FieldTemplateDescr(final String name, final String type) {
14: super ();
15: this .name = name;
16: this .classType = type;
17: }
18:
19: public String getName() {
20: return this .name;
21: }
22:
23: public String getClassType() {
24: return this .classType;
25: }
26:
27: /**
28: * @param classType the classType to set
29: */
30: public void setClassType(final String classType) {
31: this .classType = classType;
32: }
33:
34: /**
35: * @param name the name to set
36: */
37: public void setName(final String name) {
38: this.name = name;
39: }
40:
41: }
|