Class LicenseImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector10.LicenseImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,License<T>
public class LicenseImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, License<T>
This class implements the
license xsd type-
Constructor Summary
ConstructorsConstructorDescriptionLicenseImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) LicenseImpl(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 description) Sets thedescriptionelementReturns thedescriptionelementReturns thelicense-requiredelementlicenseRequired(String licenseRequired) Sets thelicense-requiredelementRemoves thedescriptionelementRemoves thelicense-requiredelementup()
-
Constructor Details
-
LicenseImpl
-
LicenseImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceLicense<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
License
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceLicense<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceLicense<T>- Returns:
- the current instance of
License
-
licenseRequired
Sets thelicense-requiredelement- Specified by:
licenseRequiredin interfaceLicense<T>- Parameters:
licenseRequired- the value for the elementlicense-required- Returns:
- the current instance of
License
-
getLicenseRequired
Returns thelicense-requiredelement- Specified by:
getLicenseRequiredin interfaceLicense<T>- Returns:
- the node defined for the element
license-required
-
removeLicenseRequired
Removes thelicense-requiredelement- Specified by:
removeLicenseRequiredin interfaceLicense<T>- Returns:
- the current instance of
License
-