org.jboss.shrinkwrap.descriptor.api.connector17.LicenseType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.connector17;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeLicenseCommonType;
/**
* This interface defines the contract for the licenseType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface LicenseType extends Child,
JeeLicenseCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: LicenseType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of LicenseType
*/
public LicenseType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of LicenseType
*/
public LicenseType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: LicenseType ElementName: javaee:xsdBooleanType ElementType : license-required
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the license-required
element
* @param licenseRequired the value for the element license-required
* @return the current instance of LicenseType
*/
public LicenseType licenseRequired(Boolean licenseRequired);
/**
* Returns the license-required
element
* @return the node defined for the element license-required
*/
public Boolean isLicenseRequired();
/**
* Removes the license-required
element
* @return the current instance of LicenseType
*/
public LicenseType removeLicenseRequired();
// --------------------------------------------------------------------------------------------------------||
// ClassName: LicenseType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of LicenseType
*/
public LicenseType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of LicenseType
*/
public LicenseType removeId();
}