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

org.jboss.shrinkwrap.descriptor.api.ejbjar32.StatefulTimeoutType 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.TimeUnitTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeStatefulTimeoutCommonType;
/**
 * This interface defines the contract for the  stateful-timeoutType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface StatefulTimeoutType extends Child, 
    JavaeeStatefulTimeoutCommonType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: StatefulTimeoutType ElementName: xsd:integer ElementType : timeout
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the timeout element
    * @param timeout the value for the element timeout 
    * @return the current instance of StatefulTimeoutType 
    */
   public StatefulTimeoutType timeout(Integer timeout);

   /**
    * Returns the timeout element
    * @return the node defined for the element timeout 
    */
   public Integer getTimeout();

   /**
    * Removes the timeout element 
    * @return the current instance of StatefulTimeoutType 
    */
   public StatefulTimeoutType removeTimeout();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: StatefulTimeoutType ElementName: javaee:time-unit-typeType ElementType : unit
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the unit element
    * @param unit the value for the element unit 
    * @return the current instance of StatefulTimeoutType 
    */
   public StatefulTimeoutType unit(TimeUnitTypeType unit);
   /**
    * Sets the unit element
    * @param unit the value for the element unit 
    * @return the current instance of StatefulTimeoutType 
    */
   public StatefulTimeoutType unit(String unit);

   /**
    * Returns the unit element
    * @return the value found for the element unit 
    */
   public TimeUnitTypeType getUnit();

   /**
    * Returns the unit element
    * @return the value found for the element unit 
    */
   public String  getUnitAsString();

   /**
    * Removes the unit attribute 
    * @return the current instance of StatefulTimeoutType 
    */
   public StatefulTimeoutType removeUnit();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy