Interface ResultContainer


public interface ResultContainer
This interface provides the abstraction for the results of a type based query.

Supported API: true

Extendable: false
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Label for the attribute; Number of result items in the container.
  • Method Summary

    Modifier and Type
    Method
    Description
    clearTypeInstanceAt(int a_index)
    Clears (removes) the TypeInstance at the specified index.
    int
    Gets the value of the attribute: SIZE.
    getTypeInstanceAt(int a_index)
    Returns the TypeInstance at the specified index.
  • Field Details

    • SIZE

      static final String SIZE
      Label for the attribute; Number of result items in the container.

      Supported API: true
      See Also:
  • Method Details

    • getSize

      int getSize()
      Gets the value of the attribute: SIZE. Number of result items in the container.

      Supported API: true
      Returns:
      int
    • getTypeInstanceAt

      TypeInstance getTypeInstanceAt(int a_index) throws WTException
      Returns the TypeInstance at the specified index.

      Supported API: true
      Parameters:
      a_index - Index of the TypeInstance in the container
      Returns:
      TypeInstance
      Throws:
      WTException
    • clearTypeInstanceAt

      TypeInstance clearTypeInstanceAt(int a_index) throws WTException
      Clears (removes) the TypeInstance at the specified index.

      Supported API: true
      Parameters:
      a_index - Index of the TypeInstance in the container
      Returns:
      TypeInstance
      Throws:
      WTException