1 23 package com.sun.enterprise.admin.wsmgmt.config.impl; 24 25 import com.sun.enterprise.admin.wsmgmt.config.spi.TransformationRule; 26 27 30 public class TransformationRuleImpl implements TransformationRule { 31 32 public TransformationRuleImpl(String n, boolean enable, String apply, 33 String loc) { 34 name = n; 35 enabled = enable; 36 applyTo = apply; 37 fileLoc = loc; 38 } 39 40 public TransformationRuleImpl( 41 com.sun.enterprise.config.serverbeans.TransformationRule tRule) { 42 43 name = tRule.getName(); 44 enabled = tRule.isEnabled(); 45 applyTo = tRule.getApplyTo(); 46 fileLoc = tRule.getRuleFileLocation(); 47 } 48 49 54 public String getName() { 55 return name; 56 } 57 58 63 public boolean getEnabled() { 64 return enabled; 65 } 66 67 72 public String getApplyTo() { 73 return applyTo; 74 } 75 76 81 public String getRuleFileLocation() { 82 return fileLoc; 83 } 84 85 86 String name = null, applyTo = null, fileLoc = null; 88 boolean enabled = false; 89 } 90 | Popular Tags |