/** * Creates a new <code>session-config</code> element * @return the new created instance of <code>SessionConfigType<WebAppDescriptor></code> */ public SessionConfigType<WebAppDescriptor> createSessionConfig() { return new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model); }
/** * Creates a new <code>session-config</code> element * @return the new created instance of <code>SessionConfigType<WebAppDescriptor></code> */ public SessionConfigType<WebAppDescriptor> createSessionConfig() { return new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model); }
/** * Creates a new <code>session-config</code> element * @return the new created instance of <code>SessionConfigType<WebFragmentDescriptor></code> */ public SessionConfigType<WebFragmentDescriptor> createSessionConfig() { return new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model); }
/** * Creates a new <code>session-config</code> element * @return the new created instance of <code>SessionConfigType<WebFragmentDescriptor></code> */ public SessionConfigType<WebFragmentDescriptor> createSessionConfig() { return new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model); }
/** * Returns all <code>session-config</code> elements * @return list of <code>session-config</code> */ public List<SessionConfigType<WebAppDescriptor>> getAllSessionConfig() { List<SessionConfigType<WebAppDescriptor>> list = new ArrayList<SessionConfigType<WebAppDescriptor>>(); List<Node> nodeList = model.get("session-config"); for(Node node: nodeList) { SessionConfigType<WebAppDescriptor> type = new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model, node); list.add(type); } return list; }
/** * Returns all <code>session-config</code> elements * @return list of <code>session-config</code> */ public List<SessionConfigType<WebAppDescriptor>> getAllSessionConfig() { List<SessionConfigType<WebAppDescriptor>> list = new ArrayList<SessionConfigType<WebAppDescriptor>>(); List<Node> nodeList = model.get("session-config"); for(Node node: nodeList) { SessionConfigType<WebAppDescriptor> type = new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model, node); list.add(type); } return list; }
/** * Returns all <code>session-config</code> elements * @return list of <code>session-config</code> */ public List<SessionConfigType<WebFragmentDescriptor>> getAllSessionConfig() { List<SessionConfigType<WebFragmentDescriptor>> list = new ArrayList<SessionConfigType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("session-config"); for(Node node: nodeList) { SessionConfigType<WebFragmentDescriptor> type = new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, node); list.add(type); } return list; }
/** * Returns all <code>session-config</code> elements * @return list of <code>session-config</code> */ public List<SessionConfigType<WebFragmentDescriptor>> getAllSessionConfig() { List<SessionConfigType<WebFragmentDescriptor>> list = new ArrayList<SessionConfigType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("session-config"); for(Node node: nodeList) { SessionConfigType<WebFragmentDescriptor> type = new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, node); list.add(type); } return list; }
/** * If not already created, a new <code>session-config</code> element will be created and returned. * Otherwise, the first existing <code>session-config</code> element will be returned. * @return the instance defined for the element <code>session-config</code> */ public SessionConfigType<WebFragmentDescriptor> getOrCreateSessionConfig() { List<Node> nodeList = model.get("session-config"); if (nodeList != null && nodeList.size() > 0) { return new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, nodeList.get(0)); } return createSessionConfig(); }
/** * If not already created, a new <code>session-config</code> element will be created and returned. * Otherwise, the first existing <code>session-config</code> element will be returned. * @return the instance defined for the element <code>session-config</code> */ public SessionConfigType<WebAppDescriptor> getOrCreateSessionConfig() { List<Node> nodeList = model.get("session-config"); if (nodeList != null && nodeList.size() > 0) { return new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model, nodeList.get(0)); } return createSessionConfig(); }
/** * If not already created, a new <code>session-config</code> element will be created and returned. * Otherwise, the first existing <code>session-config</code> element will be returned. * @return the instance defined for the element <code>session-config</code> */ public SessionConfigType<WebAppDescriptor> getOrCreateSessionConfig() { List<Node> nodeList = model.get("session-config"); if (nodeList != null && nodeList.size() > 0) { return new SessionConfigTypeImpl<WebAppDescriptor>(this, "session-config", model, nodeList.get(0)); } return createSessionConfig(); }
/** * If not already created, a new <code>session-config</code> element will be created and returned. * Otherwise, the first existing <code>session-config</code> element will be returned. * @return the instance defined for the element <code>session-config</code> */ public SessionConfigType<WebFragmentDescriptor> getOrCreateSessionConfig() { List<Node> nodeList = model.get("session-config"); if (nodeList != null && nodeList.size() > 0) { return new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, nodeList.get(0)); } return createSessionConfig(); }