Interface CollectedResult

All Known Subinterfaces:
CadCollectedResult, PartCollectedResult

public interface CollectedResult
Collected result object containing all accessible data objects gathered per configured specification and selected options.
This is generic collected result object type with methods common for gathering data.

Supported API: true
Extendable: true
  • Method Details

    • getCollectedObjects

      Collection<? extends Persistable> getCollectedObjects() throws WTException
      Get all collected objects gathered per configured specification and options.
      Supported API: true
      Returns:
      all objects collected per input specification and options.
      Throws:
      WTException - contains error message if collect operation failed and may describe invalid input.
    • getDirectParents

      Collection<? extends Persistable> getDirectParents(Persistable seed) throws WTException
      Get adjacent origin nodes located before the seed in structure.
      Supported API: true
      Parameters:
      seed - input object.
      Returns:
      first level immediate parents of the input object.
      Throws:
      WTException - contains error message if collect operation failed and may describe invalid input.
    • getDirectChildren

      Collection<? extends Persistable> getDirectChildren(Persistable seed) throws WTException
      Get adjacent destination nodes located before the seed in structure.
      Supported API: true
      Parameters:
      seed - input object.
      Returns:
      immediate first level children of the input object.
      Throws:
      WTException - contains error message if collect operation failed and may describe invalid input.