KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > ExcludeRule


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc;
5
6 import com.terracottatech.config.ClassExpression;
7
8 public class ExcludeRule extends Rule {
9   public ExcludeRule(ClassExpression expression) {
10     super(expression);
11   }
12   
13   public ClassExpression getClassExpression() {
14     return (ClassExpression)getXmlObject();
15   }
16   
17   public String JavaDoc getExpression() {
18     return getClassExpression().getStringValue();
19   }
20   
21   public void setExpression(String JavaDoc expr) {
22     getClassExpression().setStringValue(expr);
23   }
24   
25   public void setDetails(RuleDetail details) {/**/}
26   
27   public RuleDetail getDetails() {
28     return null;
29   }
30 }
31
Popular Tags