Interface INodeItemGenerator

All Known Implementing Classes:
AbstractNodeItemFactory

public interface INodeItemGenerator
Generates child node items for Metapath node items.

Provides methods to create lazy suppliers that generate child node items for field, assembly, and module node items in both data model and metaschema model contexts.

  • Method Details

    • newDataModelSupplier

      @NonNull Supplier<IFeatureFlagContainerItem.FlagContainer> newDataModelSupplier(@NonNull IFieldNodeItem item)
      Generate the child Metapath node items for the provided item.
      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items
    • newDataModelSupplier

      @NonNull Supplier<IFeatureModelContainerItem.ModelContainer> newDataModelSupplier(@NonNull IAssemblyNodeItem item)
      Generate the child Metapath node items for the provided item.
      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items
    • newDataModelSupplier

      @NonNull Supplier<IFeatureModelContainerItem.ModelContainer> newDataModelSupplier(@NonNull IRootAssemblyNodeItem item)
      Generate the child Metapath node items for the provided item.
      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items
    • newMetaschemaModelSupplier

      @NonNull Supplier<IFeatureFlagContainerItem.FlagContainer> newMetaschemaModelSupplier(@NonNull IFieldNodeItem item)
      Generate the child Metapath node items for the provided item.

      The provided item is based on a Metaschema module and has no associated value. As a result, the child items will have no associated value.

      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items
    • newMetaschemaModelSupplier

      @NonNull Supplier<IFeatureModelContainerItem.ModelContainer> newMetaschemaModelSupplier(@NonNull IAssemblyNodeItem item)
      Generate the child Metapath node items for the provided item.

      The provided item is based on a Metaschema module and has no associated value. As a result, the child items will have no associated value.

      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items
    • newMetaschemaModelSupplier

      @NonNull Supplier<IFeatureModelContainerItem.ModelContainer> newMetaschemaModelSupplier(@NonNull IModuleNodeItem item)
      Generate the child Metapath node items for the provided item.

      The provided item is a Metaschema module and has no associated value. As a result, the child items will have no associated value.

      Parameters:
      item - the parent item to generate child node items for
      Returns:
      a container that consisting of the child node items