org.jboss.shrinkwrap.descriptor.api.connector16
Interface LicenseType<T>

All Superinterfaces:
Child<T>

public interface LicenseType<T>
extends Child<T>

This interface defines the contract for the licenseType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 LicenseType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 LicenseType<T> id(String id)
          Sets the id attribute
 Boolean isLicenseRequired()
          Returns the license-required element
 LicenseType<T> licenseRequired(Boolean licenseRequired)
          Sets the license-required element
 LicenseType<T> removeAllDescription()
          Removes the description element
 LicenseType<T> removeId()
          Removes the id attribute
 LicenseType<T> removeLicenseRequired()
          Removes the license-required element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

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


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.