org.jboss.shrinkwrap.descriptor.api.application6.ModuleType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.application6;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.application6.WebType;
import org.jboss.shrinkwrap.descriptor.api.application.*;
import org.jboss.shrinkwrap.descriptor.api.application.JavaeeModuleCommonType;
import org.jboss.shrinkwrap.descriptor.api.application6.WebType;/**
* This interface defines the contract for the moduleType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ModuleType extends Child,
JavaeeModuleCommonType,
WebType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType ElementName: xsd:token ElementType : connector
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the connector
element
* @param connector the value for the element connector
* @return the current instance of ModuleType
*/
public ModuleType connector(String connector);
/**
* Returns the connector
element
* @return the node defined for the element connector
*/
public String getConnector();
/**
* Removes the connector
element
* @return the current instance of ModuleType
*/
public ModuleType removeConnector();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType ElementName: xsd:token ElementType : ejb
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb
element
* @param ejb the value for the element ejb
* @return the current instance of ModuleType
*/
public ModuleType ejb(String ejb);
/**
* Returns the ejb
element
* @return the node defined for the element ejb
*/
public String getEjb();
/**
* Removes the ejb
element
* @return the current instance of ModuleType
*/
public ModuleType removeEjb();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType ElementName: xsd:token ElementType : java
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the java
element
* @param java the value for the element java
* @return the current instance of ModuleType
*/
public ModuleType java(String java);
/**
* Returns the java
element
* @return the node defined for the element java
*/
public String getJava();
/**
* Removes the java
element
* @return the current instance of ModuleType
*/
public ModuleType removeJava();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType ElementName: javaee:webType ElementType : web
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new web
element with the given value will be created.
* Otherwise, the existing web
element will be returned.
* @return a new or existing instance of WebType>
*/
public WebType> getOrCreateWeb();
/**
* Removes the web
element
* @return the current instance of ModuleType
*/
public ModuleType removeWeb();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType ElementName: xsd:token ElementType : alt-dd
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the alt-dd
element
* @param altDd the value for the element alt-dd
* @return the current instance of ModuleType
*/
public ModuleType altDd(String altDd);
/**
* Returns the alt-dd
element
* @return the node defined for the element alt-dd
*/
public String getAltDd();
/**
* Removes the alt-dd
element
* @return the current instance of ModuleType
*/
public ModuleType removeAltDd();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ModuleType 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 ModuleType
*/
public ModuleType 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 ModuleType
*/
public ModuleType removeId();
}