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