/** * If not already created, a new <code>constructor-result</code> element will be created and returned. * Otherwise, the first existing <code>constructor-result</code> element will be returned. * @return the instance defined for the element <code>constructor-result</code> */ public ConstructorResult<SqlResultSetMapping<T>> getOrCreateConstructorResult() { List<Node> nodeList = childNode.get("constructor-result"); if (nodeList != null && nodeList.size() > 0) { return new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode, nodeList.get(0)); } return createConstructorResult(); }
/** * If not already created, a new <code>constructor-result</code> element will be created and returned. * Otherwise, the first existing <code>constructor-result</code> element will be returned. * @return the instance defined for the element <code>constructor-result</code> */ public ConstructorResult<SqlResultSetMapping<T>> getOrCreateConstructorResult() { List<Node> nodeList = childNode.get("constructor-result"); if (nodeList != null && nodeList.size() > 0) { return new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode, nodeList.get(0)); } return createConstructorResult(); }