01: package org.drools.lang.descr;
02:
03: /** This represents a function call - as in calling a Drools function.
04: * eg: functionName(argument list)
05: */
06: public class FunctionCallDescr extends DeclarativeInvokerDescr {
07:
08: private static final long serialVersionUID = 400L;
09: private String name;
10: private String arguments;
11:
12: public FunctionCallDescr(final String name) {
13: this .name = name;
14: }
15:
16: public String getArguments() {
17: return this .arguments;
18: }
19:
20: public void setArguments(final String arguments) {
21: this .arguments = arguments;
22: }
23:
24: public String getName() {
25: return this .name;
26: }
27:
28: public void setName(final String name) {
29: this .name = name;
30: }
31:
32: public String toString() {
33: return this.name + this.arguments;
34: }
35:
36: }
|