ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface AccessTimeoutType<T>

All Superinterfaces:
Child<T>

public interface AccessTimeoutType<T>
extends Child<T>

This interface defines the contract for the access-timeoutType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 Integer getTimeout()
          Returns the timeout element
 TimeUnitTypeType getUnit()
          Returns the unit element
 String getUnitAsString()
          Returns the unit element
 AccessTimeoutType<T> removeTimeout()
          Removes the timeout element
 AccessTimeoutType<T> removeUnit()
          Removes the unit attribute
 AccessTimeoutType<T> timeout(Integer timeout)
          Sets the timeout element
 AccessTimeoutType<T> unit(String unit)
          Sets the unit element
 AccessTimeoutType<T> unit(TimeUnitTypeType unit)
          Sets the unit element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

timeout

AccessTimeoutType<T> timeout(Integer timeout)
Sets the timeout element

Parameters:
timeout - the value for the element timeout
Returns:
the current instance of AccessTimeoutType

getTimeout

Integer getTimeout()
Returns the timeout element

Returns:
the node defined for the element timeout

removeTimeout

AccessTimeoutType<T> removeTimeout()
Removes the timeout element

Returns:
the current instance of AccessTimeoutType

unit

AccessTimeoutType<T> unit(TimeUnitTypeType unit)
Sets the unit element

Parameters:
unit - the value for the element unit
Returns:
the current instance of AccessTimeoutType

unit

AccessTimeoutType<T> unit(String unit)
Sets the unit element

Parameters:
unit - the value for the element unit
Returns:
the current instance of AccessTimeoutType

getUnit

TimeUnitTypeType getUnit()
Returns the unit element

Returns:
the value found for the element unit

getUnitAsString

String getUnitAsString()
Returns the unit element

Returns:
the value found for the element unit

removeUnit

AccessTimeoutType<T> removeUnit()
Removes the unit attribute

Returns:
the current instance of AccessTimeoutType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.