All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.j2ee14.EjbRefType Maven / Gradle / Ivy

The newest version!
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-refType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface EjbRefType extends Child, 
    JeeEjbRefCommonType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType 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 EjbRefType 
    */
   public EjbRefType description(String ... values);

   /**
    * Returns all description elements
    * @return list of description 
    */
   public List getAllDescription();

   /**
    * Removes the description element 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType removeAllDescription();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType 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 EjbRefType 
    */
   public EjbRefType 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 EjbRefType 
    */
   public EjbRefType removeEjbRefName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType 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 EjbRefType 
    */
   public EjbRefType ejbRefType(EjbRefTypeType ejbRefType);
   /**
    * Sets the ejb-ref-type element
    * @param ejbRefType the value for the element ejb-ref-type 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType 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 EjbRefType 
    */
   public EjbRefType removeEjbRefType();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType ElementName: j2ee:fully-qualified-classType ElementType : home
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the home element
    * @param home the value for the element home 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType home(String home);

   /**
    * Returns the home element
    * @return the node defined for the element home 
    */
   public String getHome();

   /**
    * Removes the home element 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType removeHome();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType ElementName: j2ee:fully-qualified-classType ElementType : remote
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the remote element
    * @param remote the value for the element remote 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType remote(String remote);

   /**
    * Returns the remote element
    * @return the node defined for the element remote 
    */
   public String getRemote();

   /**
    * Removes the remote element 
    * @return the current instance of EjbRefType 
    */
   public EjbRefType removeRemote();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType 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 EjbRefType 
    */
   public EjbRefType 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 EjbRefType 
    */
   public EjbRefType removeEjbLink();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRefType 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 EjbRefType 
    */
   public EjbRefType 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 EjbRefType 
    */
   public EjbRefType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy