Interface IItem
-
- All Known Subinterfaces:
IAnyAtomicItem,IAnyUriItem,IAssemblyNodeItem,IAtomicValuedItem,IBase64BinaryItem,IBooleanItem,ICycledAssemblyNodeItem,IDateItem,IDateTimeItem,IDayTimeDurationItem,IDecimalItem,IDefinitionNodeItem<D,I>,IDocumentNodeItem,IDurationItem,IEmailAddressItem,gov.nist.secauto.metaschema.core.metapath.item.node.IFeatureNoDataItem,IFieldNodeItem,IFlagNodeItem,IHostnameItem,IIntegerItem,IIPAddressItem,IIPv4AddressItem,IIPv6AddressItem,IMarkupItem,IModelNodeItem<D,I>,IModuleNodeItem,INcNameItem,INodeItem,INonNegativeIntegerItem,INumericItem,IPositiveIntegerItem,IRootAssemblyNodeItem,IStringItem,ITokenItem,IUntypedAtomicItem,IUriReferenceItem,IUuidItem,IYearMonthDurationItem
- All Known Implementing Classes:
AbstractAnyAtomicItem,AbstractIntegerItem,AbstractNumericItem,AbstractStringItem
public interface IItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ObjectgetValue()Get the item's "wrapped" value.default booleanhasValue()Determine if the item has an associated value.
-
-
-
Method Detail
-
getValue
Object getValue()
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
IDataTypeAdapteror a primitive type provided by the Java standard library.
- Returns:
- the value or
nullif the item has no available value
-
hasValue
default boolean hasValue()
Determine if the item has an associated value.- Returns:
trueif the item has a non-nullvalue orfalseotherwise
-
-