Interface IDurationItem
-
- All Superinterfaces:
IAnyAtomicItem
,IAtomicValuedItem
,IItem
- All Known Subinterfaces:
IDayTimeDurationItem
,IYearMonthDurationItem
public interface IDurationItem extends IAnyAtomicItem
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IDurationItem
cast(IAnyAtomicItem item)
TemporalAmount
getValue()
Get the item's "wrapped" value.-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.atomic.IAnyAtomicItem
asString, getJavaTypeAdapter, newStringItem, toAtomicItem
-
-
-
-
Method Detail
-
getValue
TemporalAmount 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 interfaceIItem
- Returns:
- the value or
null
if the item has no available value
-
cast
@NonNull static IDurationItem cast(@NonNull IAnyAtomicItem item)
-
-