Class SecurityRoleTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 Details

    • 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 Details

    • 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
    • getAllDescription

      public List<String> getAllDescription()
      Returns all description elements
      Specified by:
      getAllDescription in interface SecurityRoleType<T>
      Returns:
      list of description
    • removeAllDescription

      public SecurityRoleType<T> removeAllDescription()
      Removes the description element
      Specified by:
      removeAllDescription in interface SecurityRoleType<T>
      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
    • removeRoleName

      public SecurityRoleType<T> removeRoleName()
      Removes the role-name element
      Specified by:
      removeRoleName in interface SecurityRoleType<T>
      Returns:
      the current instance of SecurityRoleType
    • 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
    • removeId

      public SecurityRoleType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface SecurityRoleType<T>
      Returns:
      the current instance of SecurityRoleType