Interface IFeatureNoDataValuedItem

All Superinterfaces:
ICollectionValue, IItem
All Known Subinterfaces:
IFeatureNoDataAtomicValuedItem, IModuleNodeItem

public interface IFeatureNoDataValuedItem extends IItem
This feature interface represents an item that has no associated value data.

This will occur when an IItem represents a Metaschema definition or instance that is not associated with data. This is typical when constructing items for querying a Metaschema directly, instead of content which will always have data.

  • Method Details

    • getValue

      @Nullable default Object 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 interface IItem
      Returns:
      the value or null if the item has no available value
    • hasValue

      default boolean hasValue()
      Description copied from interface: IItem
      Determine if the item has an associated value.
      Specified by:
      hasValue in interface IItem
      Returns:
      true if the item has a non-null value or false otherwise