/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<ApplicationDescriptor></code> */ public MailSessionType<ApplicationDescriptor> createMailSession() { return new MailSessionTypeImpl<ApplicationDescriptor>(this, "mail-session", model); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<MailSessionType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<MailSessionType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<MailSessionType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<MailSessionType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<InterceptorType<T>></code> */ public MailSessionType<InterceptorType<T>> createMailSession() { return new MailSessionTypeImpl<InterceptorType<T>>(this, "mail-session", childNode); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<MailSessionType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<MailSessionType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<MessageDrivenBeanType<T>></code> */ public MailSessionType<MessageDrivenBeanType<T>> createMailSession() { return new MailSessionTypeImpl<MessageDrivenBeanType<T>>(this, "mail-session", childNode); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<MailSessionType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<MailSessionType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<InterceptorType<T>></code> */ public MailSessionType<InterceptorType<T>> createMailSession() { return new MailSessionTypeImpl<InterceptorType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<SessionBeanType<T>></code> */ public MailSessionType<SessionBeanType<T>> createMailSession() { return new MailSessionTypeImpl<SessionBeanType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<WebFragmentDescriptor></code> */ public MailSessionType<WebFragmentDescriptor> createMailSession() { return new MailSessionTypeImpl<WebFragmentDescriptor>(this, "mail-session", model); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<EntityBeanType<T>></code> */ public MailSessionType<EntityBeanType<T>> createMailSession() { return new MailSessionTypeImpl<EntityBeanType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<SessionBeanType<T>></code> */ public MailSessionType<SessionBeanType<T>> createMailSession() { return new MailSessionTypeImpl<SessionBeanType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<ApplicationDescriptor></code> */ public MailSessionType<ApplicationDescriptor> createMailSession() { return new MailSessionTypeImpl<ApplicationDescriptor>(this, "mail-session", model); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<MessageDrivenBeanType<T>></code> */ public MailSessionType<MessageDrivenBeanType<T>> createMailSession() { return new MailSessionTypeImpl<MessageDrivenBeanType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<EntityBeanType<T>></code> */ public MailSessionType<EntityBeanType<T>> createMailSession() { return new MailSessionTypeImpl<EntityBeanType<T>>(this, "mail-session", childNode); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<WebAppDescriptor></code> */ public MailSessionType<WebAppDescriptor> createMailSession() { return new MailSessionTypeImpl<WebAppDescriptor>(this, "mail-session", model); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<WebFragmentDescriptor></code> */ public MailSessionType<WebFragmentDescriptor> createMailSession() { return new MailSessionTypeImpl<WebFragmentDescriptor>(this, "mail-session", model); }
/** * Creates a new <code>mail-session</code> element * @return the new created instance of <code>MailSessionType<WebAppDescriptor></code> */ public MailSessionType<WebAppDescriptor> createMailSession() { return new MailSessionTypeImpl<WebAppDescriptor>(this, "mail-session", model); }
/** * Returns all <code>mail-session</code> elements * @return list of <code>mail-session</code> */ public List<MailSessionType<InterceptorType<T>>> getAllMailSession() { List<MailSessionType<InterceptorType<T>>> list = new ArrayList<MailSessionType<InterceptorType<T>>>(); List<Node> nodeList = childNode.get("mail-session"); for(Node node: nodeList) { MailSessionType<InterceptorType<T>> type = new MailSessionTypeImpl<InterceptorType<T>>(this, "mail-session", childNode, node); list.add(type); } return list; }
/** * Returns all <code>mail-session</code> elements * @return list of <code>mail-session</code> */ public List<MailSessionType<SessionBeanType<T>>> getAllMailSession() { List<MailSessionType<SessionBeanType<T>>> list = new ArrayList<MailSessionType<SessionBeanType<T>>>(); List<Node> nodeList = childNode.get("mail-session"); for(Node node: nodeList) { MailSessionType<SessionBeanType<T>> type = new MailSessionTypeImpl<SessionBeanType<T>>(this, "mail-session", childNode, node); list.add(type); } return list; }