Class QueryTreeModel

java.lang.Object
com.pixelmed.query.QueryTreeModel
All Implemented Interfaces:
TreeModel

public class QueryTreeModel extends Object implements TreeModel

The QueryTreeModel class implements a TreeModel to abstract the contents of a query response as a tree in order to provide support for a QueryTreeBrowser.

See Also:
  • Constructor Details

    • QueryTreeModel

      public QueryTreeModel(QueryInformationModel q, AttributeList filter, int debugLevel) throws DicomException

      Construct a tree model with a root node on top.

      The root node is the name of the called AET in the query information model.

      The contents are added as required by actually performing queries as nodes are expanded.

      Parameters:
      q - the query information model to build the tree from
      filter - the query request identifier as a list of DICOM attributes
      debugLevel - unused
      Throws:
      DicomException - thrown if there are problems building the tree
    • QueryTreeModel

      public QueryTreeModel(QueryInformationModel q, AttributeList filter) throws DicomException

      Construct a tree model with a root node on top.

      The root node is the name of the called AET in the query information model.

      The contents are added as required by actually performing queries as nodes are expanded.

      Parameters:
      q - the query information model to build the tree from
      filter - the query request identifier as a list of DICOM attributes
      Throws:
      DicomException - thrown if there are problems building the tree
  • Method Details