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

All Superinterfaces:
Child<T>

public interface StatefulTimeoutType<T>
extends Child<T>

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

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

Method Detail

timeout

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

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

getTimeout

Integer getTimeout()
Returns the timeout element

Returns:
the node defined for the element timeout

removeTimeout

StatefulTimeoutType<T> removeTimeout()
Removes the timeout element

Returns:
the current instance of StatefulTimeoutType

unit

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

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

unit

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

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

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

StatefulTimeoutType<T> removeUnit()
Removes the unit attribute

Returns:
the current instance of StatefulTimeoutType

id

StatefulTimeoutType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of StatefulTimeoutType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

StatefulTimeoutType<T> removeId()
Removes the id attribute

Returns:
the current instance of StatefulTimeoutType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.