/** * 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); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<DataSourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<DataSourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<DataSourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<DataSourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * 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); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<DataSourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<DataSourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * 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); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<DataSourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<DataSourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * 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); }
/** * Returns all <code>data-source</code> elements * @return list of <code>data-source</code> */ public List<DataSourceType<MessageDrivenBeanType<T>>> getAllDataSource() { List<DataSourceType<MessageDrivenBeanType<T>>> list = new ArrayList<DataSourceType<MessageDrivenBeanType<T>>>(); List<Node> nodeList = childNode.get("data-source"); for(Node node: nodeList) { DataSourceType<MessageDrivenBeanType<T>> type = new DataSourceTypeImpl<MessageDrivenBeanType<T>>(this, "data-source", childNode, node); list.add(type); } return list; }
/** * Returns all <code>data-source</code> elements * @return list of <code>data-source</code> */ public List<DataSourceType<EntityBeanType<T>>> getAllDataSource() { List<DataSourceType<EntityBeanType<T>>> list = new ArrayList<DataSourceType<EntityBeanType<T>>>(); List<Node> nodeList = childNode.get("data-source"); for(Node node: nodeList) { DataSourceType<EntityBeanType<T>> type = new DataSourceTypeImpl<EntityBeanType<T>>(this, "data-source", childNode, node); list.add(type); } return list; }