org.jboss.shrinkwrap.descriptor.api.ejbjar31.InitMethodType 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.ejbjar31;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeInitMethodCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;/**
* This interface defines the contract for the init-methodType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface InitMethodType extends Child,
JavaeeInitMethodCommonType,
NamedMethodType>,
NamedMethodType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: InitMethodType ElementName: javaee:named-methodType ElementType : create-method
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new create-method
element with the given value will be created.
* Otherwise, the existing create-method
element will be returned.
* @return a new or existing instance of NamedMethodType>
*/
public NamedMethodType> getOrCreateCreateMethod();
/**
* Removes the create-method
element
* @return the current instance of InitMethodType
*/
public InitMethodType removeCreateMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InitMethodType ElementName: javaee:named-methodType ElementType : bean-method
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new bean-method
element with the given value will be created.
* Otherwise, the existing bean-method
element will be returned.
* @return a new or existing instance of NamedMethodType>
*/
public NamedMethodType> getOrCreateBeanMethod();
/**
* Removes the bean-method
element
* @return the current instance of InitMethodType
*/
public InitMethodType removeBeanMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InitMethodType 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 InitMethodType
*/
public InitMethodType 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 InitMethodType
*/
public InitMethodType removeId();
}