Interface LicenseType<T>

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

    public interface LicenseType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the licenseType xsd type
    • Method Detail

      • description

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

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

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

        LicenseType<T> licenseRequired​(Boolean licenseRequired)
        Sets the license-required element
        Parameters:
        licenseRequired - the value for the element license-required
        Returns:
        the current instance of LicenseType
      • isLicenseRequired

        Boolean isLicenseRequired()
        Returns the license-required element
        Returns:
        the node defined for the element license-required
      • removeLicenseRequired

        LicenseType<T> removeLicenseRequired()
        Removes the license-required element
        Returns:
        the current instance of LicenseType
      • id

        LicenseType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of LicenseType
      • getId

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

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