/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<MessageDrivenBeanType<T>></code> */ public EjbLocalRefType<MessageDrivenBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<MessageDrivenBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * 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<EjbLocalRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EjbLocalRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * 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<EjbLocalRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EjbLocalRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<EntityBeanType<T>></code> */ public EjbLocalRefType<EntityBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<EntityBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * 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<EjbLocalRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EjbLocalRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<WebAppDescriptor></code> */ public EjbLocalRefType<WebAppDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<WebAppDescriptor>(this, "ejb-local-ref", model); }
/** * 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<EjbLocalRefType<T>> getOrCreateInjectionTarget() { List<Node> nodeList = childNode.get("injection-target"); if (nodeList != null && nodeList.size() > 0) { return new InjectionTargetTypeImpl<EjbLocalRefType<T>>(this, "injection-target", childNode, nodeList.get(0)); } return createInjectionTarget(); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<EntityBeanType<T>></code> */ public EjbLocalRefType<EntityBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<EntityBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<SessionBeanType<T>></code> */ public EjbLocalRefType<SessionBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<SessionBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<WebFragmentDescriptor></code> */ public EjbLocalRefType<WebFragmentDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<WebFragmentDescriptor>(this, "ejb-local-ref", model); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<ApplicationDescriptor></code> */ public EjbLocalRefType<ApplicationDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<ApplicationDescriptor>(this, "ejb-local-ref", model); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<InterceptorType<T>></code> */ public EjbLocalRefType<InterceptorType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<InterceptorType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<SessionBeanType<T>></code> */ public EjbLocalRefType<SessionBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<SessionBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<InterceptorType<T>></code> */ public EjbLocalRefType<InterceptorType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<InterceptorType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<WebFragmentDescriptor></code> */ public EjbLocalRefType<WebFragmentDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<WebFragmentDescriptor>(this, "ejb-local-ref", model); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<WebAppDescriptor></code> */ public EjbLocalRefType<WebAppDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<WebAppDescriptor>(this, "ejb-local-ref", model); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<MessageDrivenBeanType<T>></code> */ public EjbLocalRefType<MessageDrivenBeanType<T>> createEjbLocalRef() { return new EjbLocalRefTypeImpl<MessageDrivenBeanType<T>>(this, "ejb-local-ref", childNode); }
/** * Creates a new <code>ejb-local-ref</code> element * @return the new created instance of <code>EjbLocalRefType<ApplicationDescriptor></code> */ public EjbLocalRefType<ApplicationDescriptor> createEjbLocalRef() { return new EjbLocalRefTypeImpl<ApplicationDescriptor>(this, "ejb-local-ref", model); }
/** * Returns all <code>ejb-local-ref</code> elements * @return list of <code>ejb-local-ref</code> */ public List<EjbLocalRefType<SessionBeanType<T>>> getAllEjbLocalRef() { List<EjbLocalRefType<SessionBeanType<T>>> list = new ArrayList<EjbLocalRefType<SessionBeanType<T>>>(); List<Node> nodeList = childNode.get("ejb-local-ref"); for(Node node: nodeList) { EjbLocalRefType<SessionBeanType<T>> type = new EjbLocalRefTypeImpl<SessionBeanType<T>>(this, "ejb-local-ref", childNode, node); list.add(type); } return list; }
/** * Returns all <code>ejb-local-ref</code> elements * @return list of <code>ejb-local-ref</code> */ public List<EjbLocalRefType<WebFragmentDescriptor>> getAllEjbLocalRef() { List<EjbLocalRefType<WebFragmentDescriptor>> list = new ArrayList<EjbLocalRefType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("ejb-local-ref"); for(Node node: nodeList) { EjbLocalRefType<WebFragmentDescriptor> type = new EjbLocalRefTypeImpl<WebFragmentDescriptor>(this, "ejb-local-ref", model, node); list.add(type); } return list; }