Interface ResourceRefType<T>

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

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

    • description

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

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

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

      ResourceRefType<T> resRefName(String resRefName)
      Sets the res-ref-name element
      Parameters:
      resRefName - the value for the element res-ref-name
      Returns:
      the current instance of ResourceRefType
    • getResRefName

      String getResRefName()
      Returns the res-ref-name element
      Returns:
      the node defined for the element res-ref-name
    • removeResRefName

      ResourceRefType<T> removeResRefName()
      Removes the res-ref-name element
      Returns:
      the current instance of ResourceRefType
    • resType

      ResourceRefType<T> resType(String resType)
      Sets the res-type element
      Parameters:
      resType - the value for the element res-type
      Returns:
      the current instance of ResourceRefType
    • getResType

      String getResType()
      Returns the res-type element
      Returns:
      the node defined for the element res-type
    • removeResType

      ResourceRefType<T> removeResType()
      Removes the res-type element
      Returns:
      the current instance of ResourceRefType
    • resAuth

      ResourceRefType<T> resAuth(ResAuthType resAuth)
      Sets the res-auth element
      Parameters:
      resAuth - the value for the element res-auth
      Returns:
      the current instance of ResourceRefType
    • resAuth

      ResourceRefType<T> resAuth(String resAuth)
      Sets the res-auth element
      Parameters:
      resAuth - the value for the element res-auth
      Returns:
      the current instance of ResourceRefType
    • getResAuth

      ResAuthType getResAuth()
      Returns the res-auth element
      Returns:
      the value found for the element res-auth
    • getResAuthAsString

      String getResAuthAsString()
      Returns the res-auth element
      Returns:
      the value found for the element res-auth
    • removeResAuth

      ResourceRefType<T> removeResAuth()
      Removes the res-auth attribute
      Returns:
      the current instance of ResourceRefType
    • resSharingScope

      ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
      Sets the res-sharing-scope element
      Parameters:
      resSharingScope - the value for the element res-sharing-scope
      Returns:
      the current instance of ResourceRefType
    • resSharingScope

      ResourceRefType<T> resSharingScope(String resSharingScope)
      Sets the res-sharing-scope element
      Parameters:
      resSharingScope - the value for the element res-sharing-scope
      Returns:
      the current instance of ResourceRefType
    • getResSharingScope

      ResSharingScopeType getResSharingScope()
      Returns the res-sharing-scope element
      Returns:
      the value found for the element res-sharing-scope
    • getResSharingScopeAsString

      String getResSharingScopeAsString()
      Returns the res-sharing-scope element
      Returns:
      the value found for the element res-sharing-scope
    • removeResSharingScope

      ResourceRefType<T> removeResSharingScope()
      Removes the res-sharing-scope attribute
      Returns:
      the current instance of ResourceRefType
    • id

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

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

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