Class SecurityRoleTypeImpl<T>

  • All Implemented Interfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleType<T>

    public class SecurityRoleTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleType<T>
    This class implements the security-roleType xsd type
    • Constructor Detail

      • SecurityRoleTypeImpl

        public SecurityRoleTypeImpl​(T t,
                                    String nodeName,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • SecurityRoleTypeImpl

        public SecurityRoleTypeImpl​(T t,
                                    String nodeName,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • description

        public SecurityRoleType<T> description​(String... values)
        Creates for all String objects representing description elements, a new description element
        Specified by:
        description in interface SecurityRoleType<T>
        Parameters:
        values - list of description objects
        Returns:
        the current instance of SecurityRoleType
      • roleName

        public SecurityRoleType<T> roleName​(String roleName)
        Sets the role-name element
        Specified by:
        roleName in interface SecurityRoleType<T>
        Parameters:
        roleName - the value for the element role-name
        Returns:
        the current instance of SecurityRoleType
      • getRoleName

        public String getRoleName()
        Returns the role-name element
        Specified by:
        getRoleName in interface SecurityRoleType<T>
        Returns:
        the node defined for the element role-name
      • id

        public SecurityRoleType<T> id​(String id)
        Sets the id attribute
        Specified by:
        id in interface SecurityRoleType<T>
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of SecurityRoleType
      • getId

        public String getId()
        Returns the id attribute
        Specified by:
        getId in interface SecurityRoleType<T>
        Returns:
        the value defined for the attribute id