Interface ICycledAssemblyNodeItem

All Superinterfaces:
IAssemblyNodeItem, ICollectionValue, IDefinitionNodeItem<IAssemblyDefinition,IAssemblyInstance>, IItem, IMetapathQueryable, IModelNodeItem<IAssemblyDefinition,IAssemblyInstance>, INodeItem, INodeItemVisitable, IPathSegment

public interface ICycledAssemblyNodeItem extends IAssemblyNodeItem
A marker interface used to identify an IAssemblyNodeItem as the head of a cycle of item that loop back to the head.

This is needed to prevent infinite recursion when searching IModuleNodeItem graphs.

  • Method Details

    • getCycledNodeItem

      @NonNull IAssemblyNodeItem getCycledNodeItem()
      Get the assembly item at the head of the cycle.
      Returns:
      the assembly item at the head of the cycle