Interface SecurityRoleType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
SecurityRoleTypeImpl

public interface SecurityRoleType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the security-roleType xsd type
  • Method Details

    • description

      SecurityRoleType<T> description(String... values)
      Creates for all String objects representing description elements, a new description element
      Parameters:
      values - list of description objects
      Returns:
      the current instance of SecurityRoleType
    • getAllDescription

      List<String> getAllDescription()
      Returns all description elements
      Returns:
      list of description
    • removeAllDescription

      SecurityRoleType<T> removeAllDescription()
      Removes the description element
      Returns:
      the current instance of SecurityRoleType
    • roleName

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

      String getRoleName()
      Returns the role-name element
      Returns:
      the node defined for the element role-name
    • removeRoleName

      SecurityRoleType<T> removeRoleName()
      Removes the role-name element
      Returns:
      the current instance of SecurityRoleType
    • id

      Sets the id attribute
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of SecurityRoleType
    • getId

      String getId()
      Returns the id attribute
      Returns:
      the value defined for the attribute id
    • removeId

      SecurityRoleType<T> removeId()
      Removes the id attribute
      Returns:
      the current instance of SecurityRoleType