org.jboss.shrinkwrap.descriptor.api.j2ee14.EjbLocalRefType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.j2ee14;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.j2ee14.EjbRefTypeType;
import org.jboss.shrinkwrap.descriptor.api.j2ee.*;
/**
* 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,
JeeEjbLocalRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// 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: j2ee: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: j2ee: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: j2ee: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();
}