Interface IYearMonthDurationItem
-
- All Superinterfaces:
IAnyAtomicItem
,IAtomicValuedItem
,IDurationItem
,IItem
public interface IYearMonthDurationItem extends IDurationItem
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IYearMonthDurationItem
cast(IAnyAtomicItem item)
Period
getValue()
Get the item's "wrapped" value.static IYearMonthDurationItem
valueOf(int years, int months, int days)
static IYearMonthDurationItem
valueOf(String value)
static IYearMonthDurationItem
valueOf(Period value)
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.atomic.IAnyAtomicItem
asString, getJavaTypeAdapter, newStringItem, toAtomicItem
-
-
-
-
Method Detail
-
valueOf
@NonNull static IYearMonthDurationItem valueOf(@NonNull Period value)
-
valueOf
@NonNull static IYearMonthDurationItem valueOf(int years, int months, int days)
-
valueOf
@NonNull static IYearMonthDurationItem valueOf(@NonNull String value)
-
cast
@NonNull static IYearMonthDurationItem cast(@NonNull IAnyAtomicItem item)
-
getValue
Period 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
-
-