1 4 package com.tc; 5 6 import com.terracottatech.config.Include; 7 import com.terracottatech.config.OnLoad; 8 9 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 public RuleDetail getDetails() { 41 return null; 42 } 43 } 44 | Popular Tags |