01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc;
05:
06: import com.terracottatech.config.Include;
07: import com.terracottatech.config.OnLoad;
08:
09: public class IncludeRule extends Rule {
10: public IncludeRule(Include include) {
11: super (include);
12: }
13:
14: public Include getInclude() {
15: return (Include) getXmlObject();
16: }
17:
18: public String getExpression() {
19: return getInclude().getClassExpression();
20: }
21:
22: public void setExpression(String expr) {
23: getInclude().setClassExpression(expr);
24: }
25:
26: public boolean hasHonorTransient() {
27: return getInclude().getHonorTransient();
28: }
29:
30: public void setHonorTransient(boolean honor) {
31: getInclude().setHonorTransient(honor);
32: }
33:
34: public OnLoad getOnLoad() {
35: return getInclude().getOnLoad();
36: }
37:
38: public void setDetails(RuleDetail details) {/**/
39: }
40:
41: public RuleDetail getDetails() {
42: return null;
43: }
44: }
|