org.jboss.shrinkwrap.descriptor.api.ejbjar31.StatefulTimeoutType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar31;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.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
* @author George Gastaldi
*/
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();
}