/** * If not already created, a new <code>statement</code> element with the given value will be created. * Otherwise, the existing <code>statement</code> element will be returned. * @return a new or existing instance of <code>StatementType<XaDatasourceType<T>></code> */ public StatementType<XaDatasourceType<T>> getOrCreateStatement() { Node node = childNode.getOrCreate("statement"); StatementType<XaDatasourceType<T>> statement = new StatementTypeImpl<XaDatasourceType<T>>(this, "statement", childNode, node); return statement; }
/** * If not already created, a new <code>statement</code> element with the given value will be created. * Otherwise, the existing <code>statement</code> element will be returned. * @return a new or existing instance of <code>StatementType<DatasourceType<T>></code> */ public StatementType<DatasourceType<T>> getOrCreateStatement() { Node node = childNode.getOrCreate("statement"); StatementType<DatasourceType<T>> statement = new StatementTypeImpl<DatasourceType<T>>(this, "statement", childNode, node); return statement; }
/** * If not already created, a new <code>statement</code> element with the given value will be created. * Otherwise, the existing <code>statement</code> element will be returned. * @return a new or existing instance of <code>StatementType<DatasourceType<T>></code> */ public StatementType<DatasourceType<T>> getOrCreateStatement() { Node node = childNode.getOrCreate("statement"); StatementType<DatasourceType<T>> statement = new StatementTypeImpl<DatasourceType<T>>(this, "statement", childNode, node); return statement; }
/** * If not already created, a new <code>statement</code> element with the given value will be created. * Otherwise, the existing <code>statement</code> element will be returned. * @return a new or existing instance of <code>StatementType<XaDatasourceType<T>></code> */ public StatementType<XaDatasourceType<T>> getOrCreateStatement() { Node node = childNode.getOrCreate("statement"); StatementType<XaDatasourceType<T>> statement = new StatementTypeImpl<XaDatasourceType<T>>(this, "statement", childNode, node); return statement; }