public interface StatefulTimeoutType<T> extends Child<T>
stateful-timeoutType
xsd typeModifier and Type | Method and Description |
---|---|
Integer |
getTimeout()
Returns the
timeout element |
TimeUnitTypeType |
getUnit()
Returns the
unit element |
String |
getUnitAsString()
Returns the
unit element |
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 |
StatefulTimeoutType<T> timeout(Integer timeout)
timeout
elementtimeout
- the value for the element timeout
StatefulTimeoutType
Integer getTimeout()
timeout
elementtimeout
StatefulTimeoutType<T> removeTimeout()
timeout
elementStatefulTimeoutType
StatefulTimeoutType<T> unit(TimeUnitTypeType unit)
unit
elementunit
- the value for the element unit
StatefulTimeoutType
StatefulTimeoutType<T> unit(String unit)
unit
elementunit
- the value for the element unit
StatefulTimeoutType
TimeUnitTypeType getUnit()
unit
elementunit
String getUnitAsString()
unit
elementunit
StatefulTimeoutType<T> removeUnit()
unit
attributeStatefulTimeoutType
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.