/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<ApplicationDescriptor></code> */ public DataSourceType<ApplicationDescriptor> createDataSource() { return new DataSourceTypeImpl<ApplicationDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<InterceptorType<T>></code> */ public DataSourceType<InterceptorType<T>> createDataSource() { return new DataSourceTypeImpl<InterceptorType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<SessionBeanType<T>></code> */ public DataSourceType<SessionBeanType<T>> createDataSource() { return new DataSourceTypeImpl<SessionBeanType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<MessageDrivenBeanType<T>></code> */ public DataSourceType<MessageDrivenBeanType<T>> createDataSource() { return new DataSourceTypeImpl<MessageDrivenBeanType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<InterceptorType<T>></code> */ public DataSourceType<InterceptorType<T>> createDataSource() { return new DataSourceTypeImpl<InterceptorType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<SessionBeanType<T>></code> */ public DataSourceType<SessionBeanType<T>> createDataSource() { return new DataSourceTypeImpl<SessionBeanType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<WebAppDescriptor></code> */ public DataSourceType<WebAppDescriptor> createDataSource() { return new DataSourceTypeImpl<WebAppDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<EntityBeanType<T>></code> */ public DataSourceType<EntityBeanType<T>> createDataSource() { return new DataSourceTypeImpl<EntityBeanType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<WebFragmentDescriptor></code> */ public DataSourceType<WebFragmentDescriptor> createDataSource() { return new DataSourceTypeImpl<WebFragmentDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<MessageDrivenBeanType<T>></code> */ public DataSourceType<MessageDrivenBeanType<T>> createDataSource() { return new DataSourceTypeImpl<MessageDrivenBeanType<T>>(this, "data-source", childNode); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<WebFragmentDescriptor></code> */ public DataSourceType<WebFragmentDescriptor> createDataSource() { return new DataSourceTypeImpl<WebFragmentDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<WebAppDescriptor></code> */ public DataSourceType<WebAppDescriptor> createDataSource() { return new DataSourceTypeImpl<WebAppDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<ApplicationDescriptor></code> */ public DataSourceType<ApplicationDescriptor> createDataSource() { return new DataSourceTypeImpl<ApplicationDescriptor>(this, "data-source", model); }
/** * Creates a new <code>data-source</code> element * @return the new created instance of <code>DataSourceType<EntityBeanType<T>></code> */ public DataSourceType<EntityBeanType<T>> createDataSource() { return new DataSourceTypeImpl<EntityBeanType<T>>(this, "data-source", childNode); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<MessageDrivenBeanType<T>> getOrCreateDataSource() { List<Node> nodeList = childNode.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<MessageDrivenBeanType<T>>(this, "data-source", childNode, nodeList.get(0)); } return createDataSource(); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<WebAppDescriptor> getOrCreateDataSource() { List<Node> nodeList = model.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<WebAppDescriptor>(this, "data-source", model, nodeList.get(0)); } return createDataSource(); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<InterceptorType<T>> getOrCreateDataSource() { List<Node> nodeList = childNode.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<InterceptorType<T>>(this, "data-source", childNode, nodeList.get(0)); } return createDataSource(); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<EntityBeanType<T>> getOrCreateDataSource() { List<Node> nodeList = childNode.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<EntityBeanType<T>>(this, "data-source", childNode, nodeList.get(0)); } return createDataSource(); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<WebFragmentDescriptor> getOrCreateDataSource() { List<Node> nodeList = model.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<WebFragmentDescriptor>(this, "data-source", model, nodeList.get(0)); } return createDataSource(); }
/** * If not already created, a new <code>data-source</code> element will be created and returned. * Otherwise, the first existing <code>data-source</code> element will be returned. * @return the instance defined for the element <code>data-source</code> */ public DataSourceType<InterceptorType<T>> getOrCreateDataSource() { List<Node> nodeList = childNode.get("data-source"); if (nodeList != null && nodeList.size() > 0) { return new DataSourceTypeImpl<InterceptorType<T>>(this, "data-source", childNode, nodeList.get(0)); } return createDataSource(); }