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 Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeSets theidattributeReturns thelicense-requiredelementlicenseRequired(Boolean licenseRequired) Sets thelicense-requiredelementRemoves thedescriptionelementremoveId()Removes theidattributeRemoves thelicense-requiredelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
LicenseType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
LicenseType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
LicenseType
-
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
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
-