org.jboss.shrinkwrap.descriptor.api.connector15.ActivationspecType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.connector15;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector15.RequiredConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeActivationspecCommonType;
import org.jboss.shrinkwrap.descriptor.api.connector15.RequiredConfigPropertyType;/**
* This interface defines the contract for the activationspecType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ActivationspecType extends Child,
JeeActivationspecCommonType,
RequiredConfigPropertyType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ActivationspecType ElementName: xsd:token ElementType : activationspec-class
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the activationspec-class
element
* @param activationspecClass the value for the element activationspec-class
* @return the current instance of ActivationspecType
*/
public ActivationspecType activationspecClass(String activationspecClass);
/**
* Returns the activationspec-class
element
* @return the node defined for the element activationspec-class
*/
public String getActivationspecClass();
/**
* Removes the activationspec-class
element
* @return the current instance of ActivationspecType
*/
public ActivationspecType removeActivationspecClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ActivationspecType ElementName: j2ee:required-config-propertyType ElementType : required-config-property
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new required-config-property
element will be created and returned.
* Otherwise, the first existing required-config-property
element will be returned.
* @return the instance defined for the element required-config-property
*/
public RequiredConfigPropertyType> getOrCreateRequiredConfigProperty();
/**
* Creates a new required-config-property
element
* @return the new created instance of RequiredConfigPropertyType>
*/
public RequiredConfigPropertyType> createRequiredConfigProperty();
/**
* Returns all required-config-property
elements
* @return list of required-config-property
*/
public List>> getAllRequiredConfigProperty();
/**
* Removes all required-config-property
elements
* @return the current instance of RequiredConfigPropertyType>
*/
public ActivationspecType removeAllRequiredConfigProperty();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ActivationspecType 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 ActivationspecType
*/
public ActivationspecType 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 ActivationspecType
*/
public ActivationspecType removeId();
}