Interface IDayTimeDurationItem
-
- All Superinterfaces:
IAnyAtomicItem
,IAtomicValuedItem
,IDurationItem
,IItem
public interface IDayTimeDurationItem extends IDurationItem
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IDayTimeDurationItem
cast(IAnyAtomicItem item)
Duration
getValue()
Get the item's "wrapped" value.static IDayTimeDurationItem
valueOf(String value)
static IDayTimeDurationItem
valueOf(Duration value)
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.atomic.IAnyAtomicItem
asString, getJavaTypeAdapter, newStringItem, toAtomicItem
-
-
-
-
Method Detail
-
valueOf
@NonNull static IDayTimeDurationItem valueOf(@NonNull Duration value)
-
valueOf
@NonNull static IDayTimeDurationItem valueOf(@NonNull String value)
-
cast
@NonNull static IDayTimeDurationItem cast(@NonNull IAnyAtomicItem item) throws InvalidValueForCastFunctionException
-
getValue
Duration getValue()
Description copied from interface:IItem
Get the item's "wrapped" value. This "wrapped" value may be:- In the case of an Assembly, a Java object representing the fields and flags of the assembly.
- In the case of a Field with flags, a Java object representing the field value and flags of the field.
- In the case of a Field without flags or a flag, a Java type managed by a
IDataTypeAdapter
or a primitive type provided by the Java standard library.
- Specified by:
getValue
in interfaceIAnyAtomicItem
- Specified by:
getValue
in interfaceIDurationItem
- Specified by:
getValue
in interfaceIItem
- Returns:
- the value or
null
if the item has no available value
-
-