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

org.jboss.shrinkwrap.descriptor.api.ejbjar32.EjbRelationType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.ejbjar32; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.EjbRelationshipRoleType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeEjbRelationCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar32.EjbRelationshipRoleType;/**
 * This interface defines the contract for the  ejb-relationType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface EjbRelationType extends Child, 
    JavaeeEjbRelationCommonType,
    EjbRelationshipRoleType>> { 

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

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

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRelationType ElementName: xsd:token ElementType : ejb-relation-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ejb-relation-name element
    * @param ejbRelationName the value for the element ejb-relation-name 
    * @return the current instance of EjbRelationType 
    */
   public EjbRelationType ejbRelationName(String ejbRelationName);

   /**
    * Returns the ejb-relation-name element
    * @return the node defined for the element ejb-relation-name 
    */
   public String getEjbRelationName();

   /**
    * Removes the ejb-relation-name element 
    * @return the current instance of EjbRelationType 
    */
   public EjbRelationType removeEjbRelationName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EjbRelationType ElementName: javaee:ejb-relationship-roleType ElementType : ejb-relationship-role
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new ejb-relationship-role element will be created and returned.
    * Otherwise, the first existing ejb-relationship-role element will be returned.
    * @return the instance defined for the element ejb-relationship-role 
    */
   public EjbRelationshipRoleType> getOrCreateEjbRelationshipRole();

   /**
    * Creates a new ejb-relationship-role element 
    * @return the new created instance of EjbRelationshipRoleType> 
    */
   public EjbRelationshipRoleType> createEjbRelationshipRole();

   /**
    * Returns all ejb-relationship-role elements
    * @return list of ejb-relationship-role 
    */
   public List>> getAllEjbRelationshipRole();

   /**
    * Removes all ejb-relationship-role elements 
    * @return the current instance of EjbRelationshipRoleType> 
    */
   public EjbRelationType removeAllEjbRelationshipRole();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy