/** * Creates a new <code>container-runtime-option</code> element * @return the new created instance of <code>ContainerRuntimeOptionType<PortletType<T>></code> */ public ContainerRuntimeOptionType<PortletType<T>> createContainerRuntimeOption() { return new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode); }
/** * Creates a new <code>container-runtime-option</code> element * @return the new created instance of <code>ContainerRuntimeOptionType<PortletDescriptor></code> */ public ContainerRuntimeOptionType<PortletDescriptor> createContainerRuntimeOption() { return new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model); }
/** * Creates a new <code>container-runtime-option</code> element * @return the new created instance of <code>ContainerRuntimeOptionType<PortletType<T>></code> */ public ContainerRuntimeOptionType<PortletType<T>> createContainerRuntimeOption() { return new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode); }
/** * Creates a new <code>container-runtime-option</code> element * @return the new created instance of <code>ContainerRuntimeOptionType<PortletDescriptor></code> */ public ContainerRuntimeOptionType<PortletDescriptor> createContainerRuntimeOption() { return new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model); }
/** * Returns all <code>container-runtime-option</code> elements * @return list of <code>container-runtime-option</code> */ public List<ContainerRuntimeOptionType<PortletType<T>>> getAllContainerRuntimeOption() { List<ContainerRuntimeOptionType<PortletType<T>>> list = new ArrayList<ContainerRuntimeOptionType<PortletType<T>>>(); List<Node> nodeList = childNode.get("container-runtime-option"); for(Node node: nodeList) { ContainerRuntimeOptionType<PortletType<T>> type = new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode, node); list.add(type); } return list; }
/** * Returns all <code>container-runtime-option</code> elements * @return list of <code>container-runtime-option</code> */ public List<ContainerRuntimeOptionType<PortletDescriptor>> getAllContainerRuntimeOption() { List<ContainerRuntimeOptionType<PortletDescriptor>> list = new ArrayList<ContainerRuntimeOptionType<PortletDescriptor>>(); List<Node> nodeList = model.get("container-runtime-option"); for(Node node: nodeList) { ContainerRuntimeOptionType<PortletDescriptor> type = new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model, node); list.add(type); } return list; }
/** * Returns all <code>container-runtime-option</code> elements * @return list of <code>container-runtime-option</code> */ public List<ContainerRuntimeOptionType<PortletType<T>>> getAllContainerRuntimeOption() { List<ContainerRuntimeOptionType<PortletType<T>>> list = new ArrayList<ContainerRuntimeOptionType<PortletType<T>>>(); List<Node> nodeList = childNode.get("container-runtime-option"); for(Node node: nodeList) { ContainerRuntimeOptionType<PortletType<T>> type = new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode, node); list.add(type); } return list; }
/** * Returns all <code>container-runtime-option</code> elements * @return list of <code>container-runtime-option</code> */ public List<ContainerRuntimeOptionType<PortletDescriptor>> getAllContainerRuntimeOption() { List<ContainerRuntimeOptionType<PortletDescriptor>> list = new ArrayList<ContainerRuntimeOptionType<PortletDescriptor>>(); List<Node> nodeList = model.get("container-runtime-option"); for(Node node: nodeList) { ContainerRuntimeOptionType<PortletDescriptor> type = new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model, node); list.add(type); } return list; }
/** * If not already created, a new <code>container-runtime-option</code> element will be created and returned. * Otherwise, the first existing <code>container-runtime-option</code> element will be returned. * @return the instance defined for the element <code>container-runtime-option</code> */ public ContainerRuntimeOptionType<PortletDescriptor> getOrCreateContainerRuntimeOption() { List<Node> nodeList = model.get("container-runtime-option"); if (nodeList != null && nodeList.size() > 0) { return new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model, nodeList.get(0)); } return createContainerRuntimeOption(); }
/** * If not already created, a new <code>container-runtime-option</code> element will be created and returned. * Otherwise, the first existing <code>container-runtime-option</code> element will be returned. * @return the instance defined for the element <code>container-runtime-option</code> */ public ContainerRuntimeOptionType<PortletType<T>> getOrCreateContainerRuntimeOption() { List<Node> nodeList = childNode.get("container-runtime-option"); if (nodeList != null && nodeList.size() > 0) { return new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode, nodeList.get(0)); } return createContainerRuntimeOption(); }
/** * If not already created, a new <code>container-runtime-option</code> element will be created and returned. * Otherwise, the first existing <code>container-runtime-option</code> element will be returned. * @return the instance defined for the element <code>container-runtime-option</code> */ public ContainerRuntimeOptionType<PortletType<T>> getOrCreateContainerRuntimeOption() { List<Node> nodeList = childNode.get("container-runtime-option"); if (nodeList != null && nodeList.size() > 0) { return new ContainerRuntimeOptionTypeImpl<PortletType<T>>(this, "container-runtime-option", childNode, nodeList.get(0)); } return createContainerRuntimeOption(); }
/** * If not already created, a new <code>container-runtime-option</code> element will be created and returned. * Otherwise, the first existing <code>container-runtime-option</code> element will be returned. * @return the instance defined for the element <code>container-runtime-option</code> */ public ContainerRuntimeOptionType<PortletDescriptor> getOrCreateContainerRuntimeOption() { List<Node> nodeList = model.get("container-runtime-option"); if (nodeList != null && nodeList.size() > 0) { return new ContainerRuntimeOptionTypeImpl<PortletDescriptor>(this, "container-runtime-option", model, nodeList.get(0)); } return createContainerRuntimeOption(); }