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