/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<MessageDrivenBeanType<T>></code> */ public PersistenceContextRefType<MessageDrivenBeanType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<MessageDrivenBeanType<T>>(this, "persistence-context-ref", childNode); }
/** * If not already created, a new <code>persistence-property</code> element will be created and returned. * Otherwise, the first existing <code>persistence-property</code> element will be returned. * @return the instance defined for the element <code>persistence-property</code> */ public PropertyType<PersistenceContextRefType<T>> getOrCreatePersistenceProperty() { List<Node> nodeList = childNode.get("persistence-property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<PersistenceContextRefType<T>>(this, "persistence-property", childNode, nodeList.get(0)); } return createPersistenceProperty(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<PersistenceContextRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<PersistenceContextRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * If not already created, a new <code>persistence-property</code> element will be created and returned. * Otherwise, the first existing <code>persistence-property</code> element will be returned. * @return the instance defined for the element <code>persistence-property</code> */ public PropertyType<PersistenceContextRefType<T>> getOrCreatePersistenceProperty() { List<Node> nodeList = childNode.get("persistence-property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<PersistenceContextRefType<T>>(this, "persistence-property", childNode, nodeList.get(0)); } return createPersistenceProperty(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<PersistenceContextRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<PersistenceContextRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<ApplicationDescriptor></code> */ public PersistenceContextRefType<ApplicationDescriptor> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<ApplicationDescriptor>(this, "persistence-context-ref", model); }
/** * If not already created, a new <code>persistence-property</code> element will be created and returned. * Otherwise, the first existing <code>persistence-property</code> element will be returned. * @return the instance defined for the element <code>persistence-property</code> */ public PropertyType<PersistenceContextRefType<T>> getOrCreatePersistenceProperty() { List<Node> nodeList = childNode.get("persistence-property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<PersistenceContextRefType<T>>(this, "persistence-property", childNode, nodeList.get(0)); } return createPersistenceProperty(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<PersistenceContextRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<PersistenceContextRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<WebFragmentDescriptor></code> */ public PersistenceContextRefType<WebFragmentDescriptor> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<WebFragmentDescriptor>(this, "persistence-context-ref", model); }
/** * If not already created, a new <code>persistence-property</code> element will be created and returned. * Otherwise, the first existing <code>persistence-property</code> element will be returned. * @return the instance defined for the element <code>persistence-property</code> */ public PropertyType<PersistenceContextRefType<T>> getOrCreatePersistenceProperty() { List<Node> nodeList = childNode.get("persistence-property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<PersistenceContextRefType<T>>(this, "persistence-property", childNode, nodeList.get(0)); } return createPersistenceProperty(); }
/** * If not already created, a new <code>injection-target</code> element will be created and returned. * Otherwise, the first existing <code>injection-target</code> element will be returned. * @return the instance defined for the element <code>injection-target</code> */ public InjectionTargetType<PersistenceContextRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<PersistenceContextRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<SessionBeanType<T>></code> */ public PersistenceContextRefType<SessionBeanType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<SessionBeanType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<EntityBeanType<T>></code> */ public PersistenceContextRefType<EntityBeanType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<EntityBeanType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<EntityBeanType<T>></code> */ public PersistenceContextRefType<EntityBeanType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<EntityBeanType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<WebAppDescriptor></code> */ public PersistenceContextRefType<WebAppDescriptor> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<WebAppDescriptor>(this, "persistence-context-ref", model); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<MessageDrivenBeanType<T>></code> */ public PersistenceContextRefType<MessageDrivenBeanType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<MessageDrivenBeanType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<InterceptorType<T>></code> */ public PersistenceContextRefType<InterceptorType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<InterceptorType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<InterceptorType<T>></code> */ public PersistenceContextRefType<InterceptorType<T>> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<InterceptorType<T>>(this, "persistence-context-ref", childNode); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<ApplicationDescriptor></code> */ public PersistenceContextRefType<ApplicationDescriptor> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<ApplicationDescriptor>(this, "persistence-context-ref", model); }
/** * Creates a new <code>persistence-context-ref</code> element * @return the new created instance of <code>PersistenceContextRefType<WebAppDescriptor></code> */ public PersistenceContextRefType<WebAppDescriptor> createPersistenceContextRef() { return new PersistenceContextRefTypeImpl<WebAppDescriptor>(this, "persistence-context-ref", model); }