org.jboss.shrinkwrap.descriptor.api.ejbjar32.AccessTimeoutType 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.JavaeeAccessTimeoutCommonType;
/**
* This interface defines the contract for the access-timeoutType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface AccessTimeoutType extends Child,
JavaeeAccessTimeoutCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType removeTimeout();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType unit(TimeUnitTypeType unit);
/**
* Sets the unit
element
* @param unit the value for the element unit
* @return the current instance of AccessTimeoutType
*/
public AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType removeUnit();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType 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 AccessTimeoutType
*/
public AccessTimeoutType removeId();
}