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