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

org.jboss.shrinkwrap.descriptor.api.ejbjar30.NamedMethodType Maven / Gradle / Ivy

The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar30; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar30.MethodParamsType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeNamedMethodCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar30.MethodParamsType;/**
 * This interface defines the contract for the  named-methodType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface NamedMethodType extends Child, 
    JavaeeNamedMethodCommonType,
    MethodParamsType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: NamedMethodType ElementName: xsd:token ElementType : method-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the method-name element
    * @param methodName the value for the element method-name 
    * @return the current instance of NamedMethodType 
    */
   public NamedMethodType methodName(String methodName);

   /**
    * Returns the method-name element
    * @return the node defined for the element method-name 
    */
   public String getMethodName();

   /**
    * Removes the method-name element 
    * @return the current instance of NamedMethodType 
    */
   public NamedMethodType removeMethodName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: NamedMethodType ElementName: javaee:method-paramsType ElementType : method-params
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new method-params element with the given value will be created.
    * Otherwise, the existing method-params element will be returned.
    * @return  a new or existing instance of MethodParamsType> 
    */
   public MethodParamsType> getOrCreateMethodParams();

   /**
    * Removes the method-params element 
    * @return the current instance of NamedMethodType 
    */
   public NamedMethodType removeMethodParams();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy