1 16 17 package org.pentaho.plugin.xquery; 18 19 import java.util.Set ; 20 import org.apache.commons.logging.Log; 21 import org.apache.commons.logging.LogFactory; 22 23 public class XQueryLookupRule extends XQueryBaseComponent { 24 25 28 private static final long serialVersionUID = 979475775073072405L; 29 30 public boolean validateSystemSettings() { 31 return true; 33 } 34 35 public String getResultOutputName() { 36 Set outputs = getOutputNames(); 37 if ((outputs == null) || (outputs.size() == 0)) { 38 return null; 39 } 40 String outputName = (String ) outputs.iterator().next(); 41 return outputName; 42 } 43 44 public Log getLogger() { 45 return LogFactory.getLog(XQueryLookupRule.class); 46 } 47 48 public boolean init() { 49 return true; 50 } 51 } 52 | Popular Tags |