01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.com
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package org.huihoo.jfox.jmx.loading;
09:
10: /**
11: * express a MLet Argument <ARG TYPE="java.lang.String" VALUE="../../log/">,
12: * which contains a TYPE and a VALUE attributes
13: *
14: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
15: */
16:
17: public class MLetArgument {
18: private MLetAttribute typeAttr;
19: private MLetAttribute valueAttr;
20:
21: public MLetArgument(MLetAttribute typeAttr, MLetAttribute valueAttr) {
22: this .typeAttr = typeAttr;
23: this .valueAttr = valueAttr;
24: }
25:
26: public String getType() {
27: return typeAttr.getValue();
28: }
29:
30: public String getValue() {
31: return valueAttr.getValue();
32: }
33:
34: }
|