/** * 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); }
/** * If not already created, a new <code>entity-result</code> element will be created and returned. * Otherwise, the first existing <code>entity-result</code> element will be returned. * @return the instance defined for the element <code>entity-result</code> */ public EntityResult<SqlResultSetMapping<T>> getOrCreateEntityResult() { List<Node> nodeList = childNode.get("entity-result"); if (nodeList != null && nodeList.size() > 0) { return new EntityResultImpl<SqlResultSetMapping<T>>(this, "entity-result", childNode, nodeList.get(0)); } return createEntityResult(); }
/** * 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>column-result</code> element will be created and returned. * Otherwise, the first existing <code>column-result</code> element will be returned. * @return the instance defined for the element <code>column-result</code> */ public ColumnResult<SqlResultSetMapping<T>> getOrCreateColumnResult() { List<Node> nodeList = childNode.get("column-result"); if (nodeList != null && nodeList.size() > 0) { return new ColumnResultImpl<SqlResultSetMapping<T>>(this, "column-result", childNode, nodeList.get(0)); } return createColumnResult(); }
/** * If not already created, a new <code>entity-result</code> element will be created and returned. * Otherwise, the first existing <code>entity-result</code> element will be returned. * @return the instance defined for the element <code>entity-result</code> */ public EntityResult<SqlResultSetMapping<T>> getOrCreateEntityResult() { List<Node> nodeList = childNode.get("entity-result"); if (nodeList != null && nodeList.size() > 0) { return new EntityResultImpl<SqlResultSetMapping<T>>(this, "entity-result", childNode, nodeList.get(0)); } return createEntityResult(); }
/** * 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>column-result</code> element will be created and returned. * Otherwise, the first existing <code>column-result</code> element will be returned. * @return the instance defined for the element <code>column-result</code> */ public ColumnResult<SqlResultSetMapping<T>> getOrCreateColumnResult() { List<Node> nodeList = childNode.get("column-result"); if (nodeList != null && nodeList.size() > 0) { return new ColumnResultImpl<SqlResultSetMapping<T>>(this, "column-result", childNode, nodeList.get(0)); } return createColumnResult(); }
/** * 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<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(); }
/** * 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(); }