/** * Creates a new <code>constructor-result</code> element * @return the new created instance of <code>ConstructorResult<SqlResultSetMapping<T>></code> */ public ConstructorResult<SqlResultSetMapping<T>> createConstructorResult() { return new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode); }
/** * If not already created, a new <code>column</code> element will be created and returned. * Otherwise, the first existing <code>column</code> element will be returned. * @return the instance defined for the element <code>column</code> */ public ColumnResult<ConstructorResult<T>> getOrCreateColumn() { List<Node> nodeList = childNode.get("column"); if (nodeList != null && nodeList.size() > 0) { return new ColumnResultImpl<ConstructorResult<T>>(this, "column", childNode, nodeList.get(0)); } return createColumn(); }
/** * If not already created, a new <code>column</code> element will be created and returned. * Otherwise, the first existing <code>column</code> element will be returned. * @return the instance defined for the element <code>column</code> */ public ColumnResult<ConstructorResult<T>> getOrCreateColumn() { List<Node> nodeList = childNode.get("column"); if (nodeList != null && nodeList.size() > 0) { return new ColumnResultImpl<ConstructorResult<T>>(this, "column", childNode, nodeList.get(0)); } return createColumn(); }
/** * Creates a new <code>constructor-result</code> element * @return the new created instance of <code>ConstructorResult<SqlResultSetMapping<T>></code> */ public ConstructorResult<SqlResultSetMapping<T>> createConstructorResult() { return new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode); }
/** * Returns all <code>constructor-result</code> elements * @return list of <code>constructor-result</code> */ public List<ConstructorResult<SqlResultSetMapping<T>>> getAllConstructorResult() { List<ConstructorResult<SqlResultSetMapping<T>>> list = new ArrayList<ConstructorResult<SqlResultSetMapping<T>>>(); List<Node> nodeList = childNode.get("constructor-result"); for(Node node: nodeList) { ConstructorResult<SqlResultSetMapping<T>> type = new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constructor-result</code> elements * @return list of <code>constructor-result</code> */ public List<ConstructorResult<SqlResultSetMapping<T>>> getAllConstructorResult() { List<ConstructorResult<SqlResultSetMapping<T>>> list = new ArrayList<ConstructorResult<SqlResultSetMapping<T>>>(); List<Node> nodeList = childNode.get("constructor-result"); for(Node node: nodeList) { ConstructorResult<SqlResultSetMapping<T>> type = new ConstructorResultImpl<SqlResultSetMapping<T>>(this, "constructor-result", childNode, node); list.add(type); } return list; }
/** * 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(); }