public interface StatefulTimeoutType<T> extends Child<T>, JavaeeStatefulTimeoutCommonType<T,StatefulTimeoutType<T>>
stateful-timeoutType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
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
StatefulTimeoutType<T> id(String id)
id
attributeid
- the value for the attribute id
StatefulTimeoutType
String getId()
id
attributeid
StatefulTimeoutType<T> removeId()
id
attributeStatefulTimeoutType
Copyright © 2024 JBoss by Red Hat. All rights reserved.