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 :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
 AccessTimeoutType<T> id(String id)
          Sets the id attribute
 AccessTimeoutType<T> removeId()
          Removes the id attribute
 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

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

AccessTimeoutType<T> removeId()
Removes the id attribute

Returns:
the current instance of AccessTimeoutType


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