/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<ApplicationDescriptor></code> */ public SecurityRoleType<ApplicationDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<ApplicationDescriptor>(this, "security-role", model); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<AssemblyDescriptorType<T>></code> */ public SecurityRoleType<AssemblyDescriptorType<T>> createSecurityRole() { return new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<WebAppDescriptor></code> */ public SecurityRoleType<WebAppDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<WebAppDescriptor>(this, "security-role", model); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<AssemblyDescriptorType<T>></code> */ public SecurityRoleType<AssemblyDescriptorType<T>> createSecurityRole() { return new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<WebFragmentDescriptor></code> */ public SecurityRoleType<WebFragmentDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<WebFragmentDescriptor>(this, "security-role", model); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<ApplicationDescriptor></code> */ public SecurityRoleType<ApplicationDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<ApplicationDescriptor>(this, "security-role", model); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<WebFragmentDescriptor></code> */ public SecurityRoleType<WebFragmentDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<WebFragmentDescriptor>(this, "security-role", model); }
/** * Creates a new <code>security-role</code> element * @return the new created instance of <code>SecurityRoleType<WebAppDescriptor></code> */ public SecurityRoleType<WebAppDescriptor> createSecurityRole() { return new SecurityRoleTypeImpl<WebAppDescriptor>(this, "security-role", model); }
/** * Returns all <code>security-role</code> elements * @return list of <code>security-role</code> */ public List<SecurityRoleType<WebAppDescriptor>> getAllSecurityRole() { List<SecurityRoleType<WebAppDescriptor>> list = new ArrayList<SecurityRoleType<WebAppDescriptor>>(); List<Node> nodeList = model.get("security-role"); for(Node node: nodeList) { SecurityRoleType<WebAppDescriptor> type = new SecurityRoleTypeImpl<WebAppDescriptor>(this, "security-role", model, node); list.add(type); } return list; }
/** * Returns all <code>security-role</code> elements * @return list of <code>security-role</code> */ public List<SecurityRoleType<WebFragmentDescriptor>> getAllSecurityRole() { List<SecurityRoleType<WebFragmentDescriptor>> list = new ArrayList<SecurityRoleType<WebFragmentDescriptor>>(); List<Node> nodeList = model.get("security-role"); for(Node node: nodeList) { SecurityRoleType<WebFragmentDescriptor> type = new SecurityRoleTypeImpl<WebFragmentDescriptor>(this, "security-role", model, node); list.add(type); } return list; }
/** * Returns all <code>security-role</code> elements * @return list of <code>security-role</code> */ public List<SecurityRoleType<AssemblyDescriptorType<T>>> getAllSecurityRole() { List<SecurityRoleType<AssemblyDescriptorType<T>>> list = new ArrayList<SecurityRoleType<AssemblyDescriptorType<T>>>(); List<Node> nodeList = childNode.get("security-role"); for(Node node: nodeList) { SecurityRoleType<AssemblyDescriptorType<T>> type = new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode, node); list.add(type); } return list; }
/** * Returns all <code>security-role</code> elements * @return list of <code>security-role</code> */ public List<SecurityRoleType<AssemblyDescriptorType<T>>> getAllSecurityRole() { List<SecurityRoleType<AssemblyDescriptorType<T>>> list = new ArrayList<SecurityRoleType<AssemblyDescriptorType<T>>>(); List<Node> nodeList = childNode.get("security-role"); for(Node node: nodeList) { SecurityRoleType<AssemblyDescriptorType<T>> type = new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<WebAppDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<WebAppDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<WebFragmentDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<WebFragmentDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<ApplicationDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<ApplicationDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<AssemblyDescriptorType<T>> getOrCreateSecurityRole() { List<Node> nodeList = childNode.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<WebAppDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<WebAppDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<WebFragmentDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<WebFragmentDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<ApplicationDescriptor> getOrCreateSecurityRole() { List<Node> nodeList = model.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<ApplicationDescriptor>(this, "security-role", model, nodeList.get(0)); } return createSecurityRole(); }
/** * If not already created, a new <code>security-role</code> element will be created and returned. * Otherwise, the first existing <code>security-role</code> element will be returned. * @return the instance defined for the element <code>security-role</code> */ public SecurityRoleType<AssemblyDescriptorType<T>> getOrCreateSecurityRole() { List<Node> nodeList = childNode.get("security-role"); if (nodeList != null && nodeList.size() > 0) { return new SecurityRoleTypeImpl<AssemblyDescriptorType<T>>(this, "security-role", childNode, nodeList.get(0)); } return createSecurityRole(); }