org.jboss.shrinkwrap.descriptor.api.javaee6.EjbLocalRefType 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.javaee6;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee6.EjbRefTypeType;
import org.jboss.shrinkwrap.descriptor.api.javaee6.InjectionTargetType;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
* This interface defines the contract for the ejb-local-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface EjbLocalRefType extends Child,
JavaeeEjbLocalRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: xsd:string ElementType : lookup-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the lookup-name
element
* @param lookupName the value for the element lookup-name
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType lookupName(String lookupName);
/**
* Returns the lookup-name
element
* @return the node defined for the element lookup-name
*/
public String getLookupName();
/**
* Removes the lookup-name
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeLookupName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: xsd:string ElementType : mapped-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the mapped-name
element
* @param mappedName the value for the element mapped-name
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType mappedName(String mappedName);
/**
* Returns the mapped-name
element
* @return the node defined for the element mapped-name
*/
public String getMappedName();
/**
* Removes the mapped-name
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeMappedName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: javaee:injection-targetType ElementType : injection-target
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new injection-target
element will be created and returned.
* Otherwise, the first existing injection-target
element will be returned.
* @return the instance defined for the element injection-target
*/
public InjectionTargetType> getOrCreateInjectionTarget();
/**
* Creates a new injection-target
element
* @return the new created instance of InjectionTargetType>
*/
public InjectionTargetType> createInjectionTarget();
/**
* Returns all injection-target
elements
* @return list of injection-target
*/
public List>> getAllInjectionTarget();
/**
* Removes all injection-target
elements
* @return the current instance of InjectionTargetType>
*/
public EjbLocalRefType removeAllInjectionTarget();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType 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 EjbLocalRefType
*/
public EjbLocalRefType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: xsd:token ElementType : ejb-ref-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb-ref-name
element
* @param ejbRefName the value for the element ejb-ref-name
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType ejbRefName(String ejbRefName);
/**
* Returns the ejb-ref-name
element
* @return the node defined for the element ejb-ref-name
*/
public String getEjbRefName();
/**
* Removes the ejb-ref-name
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeEjbRefName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: javaee:ejb-ref-typeType ElementType : ejb-ref-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb-ref-type
element
* @param ejbRefType the value for the element ejb-ref-type
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType ejbRefType(EjbRefTypeType ejbRefType);
/**
* Sets the ejb-ref-type
element
* @param ejbRefType the value for the element ejb-ref-type
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType ejbRefType(String ejbRefType);
/**
* Returns the ejb-ref-type
element
* @return the value found for the element ejb-ref-type
*/
public EjbRefTypeType getEjbRefType();
/**
* Returns the ejb-ref-type
element
* @return the value found for the element ejb-ref-type
*/
public String getEjbRefTypeAsString();
/**
* Removes the ejb-ref-type
attribute
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeEjbRefType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: javaee:fully-qualified-classType ElementType : local-home
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the local-home
element
* @param localHome the value for the element local-home
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType localHome(String localHome);
/**
* Returns the local-home
element
* @return the node defined for the element local-home
*/
public String getLocalHome();
/**
* Removes the local-home
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeLocalHome();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: javaee:fully-qualified-classType ElementType : local
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the local
element
* @param local the value for the element local
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType local(String local);
/**
* Returns the local
element
* @return the node defined for the element local
*/
public String getLocal();
/**
* Removes the local
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeLocal();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType ElementName: xsd:token ElementType : ejb-link
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb-link
element
* @param ejbLink the value for the element ejb-link
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType ejbLink(String ejbLink);
/**
* Returns the ejb-link
element
* @return the node defined for the element ejb-link
*/
public String getEjbLink();
/**
* Removes the ejb-link
element
* @return the current instance of EjbLocalRefType
*/
public EjbLocalRefType removeEjbLink();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EjbLocalRefType 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 EjbLocalRefType
*/
public EjbLocalRefType 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 EjbLocalRefType
*/
public EjbLocalRefType removeId();
}