/** * Creates a new <code>sql-result-set-mapping</code> element * @return the new created instance of <code>SqlResultSetMapping<OrmDescriptor></code> */ public SqlResultSetMapping<OrmDescriptor> createSqlResultSetMapping() { return new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model); }
/** * Creates a new <code>sql-result-set-mapping</code> element * @return the new created instance of <code>SqlResultSetMapping<Entity<T>></code> */ public SqlResultSetMapping<Entity<T>> createSqlResultSetMapping() { return new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode); }
/** * Creates a new <code>sql-result-set-mapping</code> element * @return the new created instance of <code>SqlResultSetMapping<Entity<T>></code> */ public SqlResultSetMapping<Entity<T>> createSqlResultSetMapping() { return new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode); }
/** * Creates a new <code>sql-result-set-mapping</code> element * @return the new created instance of <code>SqlResultSetMapping<OrmDescriptor></code> */ public SqlResultSetMapping<OrmDescriptor> createSqlResultSetMapping() { return new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model); }
/** * Returns all <code>sql-result-set-mapping</code> elements * @return list of <code>sql-result-set-mapping</code> */ public List<SqlResultSetMapping<OrmDescriptor>> getAllSqlResultSetMapping() { List<SqlResultSetMapping<OrmDescriptor>> list = new ArrayList<SqlResultSetMapping<OrmDescriptor>>(); List<Node> nodeList = model.get("sql-result-set-mapping"); for(Node node: nodeList) { SqlResultSetMapping<OrmDescriptor> type = new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model, node); list.add(type); } return list; }
/** * Returns all <code>sql-result-set-mapping</code> elements * @return list of <code>sql-result-set-mapping</code> */ public List<SqlResultSetMapping<OrmDescriptor>> getAllSqlResultSetMapping() { List<SqlResultSetMapping<OrmDescriptor>> list = new ArrayList<SqlResultSetMapping<OrmDescriptor>>(); List<Node> nodeList = model.get("sql-result-set-mapping"); for(Node node: nodeList) { SqlResultSetMapping<OrmDescriptor> type = new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model, node); list.add(type); } return list; }
/** * Returns all <code>sql-result-set-mapping</code> elements * @return list of <code>sql-result-set-mapping</code> */ public List<SqlResultSetMapping<Entity<T>>> getAllSqlResultSetMapping() { List<SqlResultSetMapping<Entity<T>>> list = new ArrayList<SqlResultSetMapping<Entity<T>>>(); List<Node> nodeList = childNode.get("sql-result-set-mapping"); for(Node node: nodeList) { SqlResultSetMapping<Entity<T>> type = new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode, node); list.add(type); } return list; }
/** * Returns all <code>sql-result-set-mapping</code> elements * @return list of <code>sql-result-set-mapping</code> */ public List<SqlResultSetMapping<Entity<T>>> getAllSqlResultSetMapping() { List<SqlResultSetMapping<Entity<T>>> list = new ArrayList<SqlResultSetMapping<Entity<T>>>(); List<Node> nodeList = childNode.get("sql-result-set-mapping"); for(Node node: nodeList) { SqlResultSetMapping<Entity<T>> type = new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>sql-result-set-mapping</code> element will be created and returned. * Otherwise, the first existing <code>sql-result-set-mapping</code> element will be returned. * @return the instance defined for the element <code>sql-result-set-mapping</code> */ public SqlResultSetMapping<Entity<T>> getOrCreateSqlResultSetMapping() { List<Node> nodeList = childNode.get("sql-result-set-mapping"); if (nodeList != null && nodeList.size() > 0) { return new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode, nodeList.get(0)); } return createSqlResultSetMapping(); }
/** * If not already created, a new <code>sql-result-set-mapping</code> element will be created and returned. * Otherwise, the first existing <code>sql-result-set-mapping</code> element will be returned. * @return the instance defined for the element <code>sql-result-set-mapping</code> */ public SqlResultSetMapping<OrmDescriptor> getOrCreateSqlResultSetMapping() { List<Node> nodeList = model.get("sql-result-set-mapping"); if (nodeList != null && nodeList.size() > 0) { return new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model, nodeList.get(0)); } return createSqlResultSetMapping(); }
/** * If not already created, a new <code>sql-result-set-mapping</code> element will be created and returned. * Otherwise, the first existing <code>sql-result-set-mapping</code> element will be returned. * @return the instance defined for the element <code>sql-result-set-mapping</code> */ public SqlResultSetMapping<OrmDescriptor> getOrCreateSqlResultSetMapping() { List<Node> nodeList = model.get("sql-result-set-mapping"); if (nodeList != null && nodeList.size() > 0) { return new SqlResultSetMappingImpl<OrmDescriptor>(this, "sql-result-set-mapping", model, nodeList.get(0)); } return createSqlResultSetMapping(); }
/** * If not already created, a new <code>sql-result-set-mapping</code> element will be created and returned. * Otherwise, the first existing <code>sql-result-set-mapping</code> element will be returned. * @return the instance defined for the element <code>sql-result-set-mapping</code> */ public SqlResultSetMapping<Entity<T>> getOrCreateSqlResultSetMapping() { List<Node> nodeList = childNode.get("sql-result-set-mapping"); if (nodeList != null && nodeList.size() > 0) { return new SqlResultSetMappingImpl<Entity<T>>(this, "sql-result-set-mapping", childNode, nodeList.get(0)); } return createSqlResultSetMapping(); }