/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<AdminObjectType<T>></code> */ public ConfigPropertyType<AdminObjectType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<AdminObjectType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>resource-adapter</code> element * @return the new created instance of <code>ResourceAdapterType<ResourceAdaptersType<T>></code> */ public ResourceAdapterType<ResourceAdaptersType<T>> createResourceAdapter() { return new ResourceAdapterTypeImpl<ResourceAdaptersType<T>>(this, "resource-adapter", childNode); }
/** * Creates a new <code>admin-object</code> element * @return the new created instance of <code>AdminObjectType<AdminObjectsType<T>></code> */ public AdminObjectType<AdminObjectsType<T>> createAdminObject() { return new AdminObjectTypeImpl<AdminObjectsType<T>>(this, "admin-object", childNode); }
/** * Creates a new <code>connection-definition</code> element * @return the new created instance of <code>ConnectionDefinitionType<ConnectionDefinitionsType<T>></code> */ public ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition() { return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode); }
public ResourceAdaptersDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * If not already created, a new <code>bean-validation-groups</code> element with the given value will be created. * Otherwise, the existing <code>bean-validation-groups</code> element will be returned. * @return a new or existing instance of <code>BeanValidationGroupsType<ResourceAdapterType<T>></code> */ public BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups() { Node node = childNode.getOrCreate("bean-validation-groups"); BeanValidationGroupsType<ResourceAdapterType<T>> beanValidationGroups = new BeanValidationGroupsTypeImpl<ResourceAdapterType<T>>(this, "bean-validation-groups", childNode, node); return beanValidationGroups; }
/** * If not already created, a new <code>pool</code> element with the given value will be created. * Otherwise, the existing <code>pool</code> element will be returned. * @return a new or existing instance of <code>PoolType<ConnectionDefinitionType<T>></code> */ public PoolType<ConnectionDefinitionType<T>> getOrCreatePool() { Node node = childNode.getOrCreate("pool"); PoolType<ConnectionDefinitionType<T>> pool = new PoolTypeImpl<ConnectionDefinitionType<T>>(this, "pool", childNode, node); return pool; }
/** * If not already created, a new <code>security</code> element with the given value will be created. * Otherwise, the existing <code>security</code> element will be returned. * @return a new or existing instance of <code>SecurityType<ConnectionDefinitionType<T>></code> */ public SecurityType<ConnectionDefinitionType<T>> getOrCreateSecurity() { Node node = childNode.getOrCreate("security"); SecurityType<ConnectionDefinitionType<T>> security = new SecurityTypeImpl<ConnectionDefinitionType<T>>(this, "security", childNode, node); return security; }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ConnectionDefinitionType<T>></code> */ public ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ConnectionDefinitionType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>resource-adapter</code> element * @return the new created instance of <code>ResourceAdapterType<ResourceAdaptersDescriptor></code> */ public ResourceAdapterType<ResourceAdaptersDescriptor> createResourceAdapter() { return new ResourceAdapterTypeImpl<ResourceAdaptersDescriptor>(this, "resource-adapter", model); }
/** * Creates a new <code>admin-object</code> element * @return the new created instance of <code>AdminObjectType<AdminObjectsType<T>></code> */ public AdminObjectType<AdminObjectsType<T>> createAdminObject() { return new AdminObjectTypeImpl<AdminObjectsType<T>>(this, "admin-object", childNode); }
/** * Creates a new <code>connection-definition</code> element * @return the new created instance of <code>ConnectionDefinitionType<ConnectionDefinitionsType<T>></code> */ public ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition() { return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode); }
public ResourceAdaptersDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<AdminObjectType<T>></code> */ public ConfigPropertyType<AdminObjectType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<AdminObjectType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>resource-adapter</code> element * @return the new created instance of <code>ResourceAdapterType<ResourceAdaptersDescriptor></code> */ public ResourceAdapterType<ResourceAdaptersDescriptor> createResourceAdapter() { return new ResourceAdapterTypeImpl<ResourceAdaptersDescriptor>(this, "resource-adapter", model); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ResourceAdapterType<T>></code> */ public ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ResourceAdapterType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>resource-adapter</code> element * @return the new created instance of <code>ResourceAdapterType<ResourceAdaptersType<T>></code> */ public ResourceAdapterType<ResourceAdaptersType<T>> createResourceAdapter() { return new ResourceAdapterTypeImpl<ResourceAdaptersType<T>>(this, "resource-adapter", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ConnectionDefinitionType<T>></code> */ public ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ConnectionDefinitionType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ResourceAdapterType<T>></code> */ public ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ResourceAdapterType<T>>(this, "config-property", childNode); }
/** * If not already created, a new <code>config-property</code> element with the given value will be created. * Otherwise, the existing <code>config-property</code> element will be returned. * @return a new or existing instance of <code>ConfigPropertyType<ExtensionType<T>></code> */ public ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty() { Node node = childNode.getOrCreate("config-property"); ConfigPropertyType<ExtensionType<T>> configProperty = new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, node); return configProperty; }