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.ClassExpression;
07:
08: public class ExcludeRule extends Rule {
09: public ExcludeRule(ClassExpression expression) {
10: super (expression);
11: }
12:
13: public ClassExpression getClassExpression() {
14: return (ClassExpression) getXmlObject();
15: }
16:
17: public String getExpression() {
18: return getClassExpression().getStringValue();
19: }
20:
21: public void setExpression(String expr) {
22: getClassExpression().setStringValue(expr);
23: }
24:
25: public void setDetails(RuleDetail details) {/**/
26: }
27:
28: public RuleDetail getDetails() {
29: return null;
30: }
31: }
|