/** * Returns the <code>ejb-name</code> element * @return the node defined for the element <code>ejb-name</code> */ public String getEjbName() { return childNode.getTextValueForPatternName("ejb-name"); }
/** * Returns the <code>mapped-name</code> element * @return the node defined for the element <code>mapped-name</code> */ public String getMappedName() { return childNode.getTextValueForPatternName("mapped-name"); }
/** * Returns the <code>local-home</code> element * @return the node defined for the element <code>local-home</code> */ public String getLocalHome() { return childNode.getTextValueForPatternName("local-home"); }
/** * Returns the <code>local</code> element * @return the node defined for the element <code>local</code> */ public String getLocal() { return childNode.getTextValueForPatternName("local"); }
/** * Returns the <code>handler-class</code> element * @return the node defined for the element <code>handler-class</code> */ public String getHandlerClass() { return childNode.getTextValueForPatternName("handler-class"); }
/** * Returns the <code>type</code> element * @return the node defined for the element <code>type</code> */ public String getType() { return childNode.getTextValueForPatternName("type"); }
/** * Returns the <code>handler-class</code> element * @return the node defined for the element <code>handler-class</code> */ public String getHandlerClass() { return childNode.getTextValueForPatternName("handler-class"); }
/** * Returns the <code>second</code> element * @return the node defined for the element <code>second</code> */ public String getSecond() { return childNode.getTextValueForPatternName("second"); }
/** * Returns the <code>day-of-month</code> element * @return the node defined for the element <code>day-of-month</code> */ public String getDayOfMonth() { return childNode.getTextValueForPatternName("day-of-month"); }
/** * Returns the <code>timezone</code> element * @return the node defined for the element <code>timezone</code> */ public String getTimezone() { return childNode.getTextValueForPatternName("timezone"); }
/** * Returns the <code>connectionfactory-interface</code> element * @return the node defined for the element <code>connectionfactory-interface</code> */ public String getConnectionfactoryInterface() { return childNode.getTextValueForPatternName("connectionfactory-interface"); }
/** * Returns the <code>connection-interface</code> element * @return the node defined for the element <code>connection-interface</code> */ public String getConnectionInterface() { return childNode.getTextValueForPatternName("connection-interface"); }
/** * Returns the <code>config-property-name</code> element * @return the node defined for the element <code>config-property-name</code> */ public String getConfigPropertyName() { return childNode.getTextValueForPatternName("config-property-name"); }
@Override public int getLoadOnStartup() throws NumberFormatException { String tex = servlet.getTextValueForPatternName("load-on-startup"); return tex == null ? null : Integer.valueOf(tex); }
@Override public Map<String, String> getInitParams() { Map<String, String> result = new HashMap<String, String>(); List<Node> params = servlet.get("init-param"); for (Node node : params) { result.put(node.getTextValueForPatternName("param-name"), node.getTextValueForPatternName("param-value")); } return result; }
/** * Returns the <code>session-type</code> element * @return the value found for the element <code>session-type</code> */ public SessionTypeType getSessionType() { return SessionTypeType.getFromStringValue(childNode.getTextValueForPatternName("session-type")); }
/** * Returns the <code>transaction-type</code> element * @return the value found for the element <code>transaction-type</code> */ public TransactionTypeType getTransactionType() { return TransactionTypeType.getFromStringValue(childNode.getTextValueForPatternName("transaction-type")); }
/** * Returns the <code>config-property-type</code> element * @return the value found for the element <code>config-property-type</code> */ public ConfigPropertyTypeType getConfigPropertyType() { return ConfigPropertyTypeType.getFromStringValue(childNode.getTextValueForPatternName("config-property-type")); }
/** * Returns the <code>unit</code> element * @return the value found for the element <code>unit</code> */ public TimeUnitTypeType getUnit() { return TimeUnitTypeType.getFromStringValue(childNode.getTextValueForPatternName("unit")); }
/** * Returns the <code>persistent</code> element * @return the node defined for the element <code>persistent</code> */ public Boolean isPersistent() { return Strings.isTrue(childNode.getTextValueForPatternName("persistent")); }