Class LicenseTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector15.LicenseTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,LicenseType<T>
public class LicenseTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, LicenseType<T>
This class implements the
licenseType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionLicenseTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) LicenseTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-requiredelementup()
-
Constructor Details
-
LicenseTypeImpl
-
LicenseTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceLicenseType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
LicenseType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceLicenseType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceLicenseType<T>- Returns:
- the current instance of
LicenseType
-
licenseRequired
Sets thelicense-requiredelement- Specified by:
licenseRequiredin interfaceLicenseType<T>- Parameters:
licenseRequired- the value for the elementlicense-required- Returns:
- the current instance of
LicenseType
-
isLicenseRequired
Returns thelicense-requiredelement- Specified by:
isLicenseRequiredin interfaceLicenseType<T>- Returns:
- the node defined for the element
license-required
-
removeLicenseRequired
Removes thelicense-requiredelement- Specified by:
removeLicenseRequiredin interfaceLicenseType<T>- Returns:
- the current instance of
LicenseType
-
id
Sets theidattribute- Specified by:
idin interfaceLicenseType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
LicenseType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceLicenseType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceLicenseType<T>- Returns:
- the current instance of
LicenseType
-