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 thelicenseTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LicenseType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeLicenseType<T>id(String id)Sets theidattributeBooleanisLicenseRequired()Returns thelicense-requiredelementLicenseType<T>licenseRequired(Boolean licenseRequired)Sets thelicense-requiredelementLicenseType<T>removeAllDescription()Removes thedescriptionelementLicenseType<T>removeId()Removes theidattributeLicenseType<T>removeLicenseRequired()Removes thelicense-requiredelement
-
-
-
Method Detail
-
description
LicenseType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
LicenseType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
LicenseType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
LicenseType
-
licenseRequired
LicenseType<T> licenseRequired(Boolean licenseRequired)
Sets thelicense-requiredelement- Parameters:
licenseRequired- the value for the elementlicense-required- Returns:
- the current instance of
LicenseType
-
isLicenseRequired
Boolean isLicenseRequired()
Returns thelicense-requiredelement- Returns:
- the node defined for the element
license-required
-
removeLicenseRequired
LicenseType<T> removeLicenseRequired()
Removes thelicense-requiredelement- Returns:
- the current instance of
LicenseType
-
id
LicenseType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
LicenseType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
LicenseType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
LicenseType
-
-