Protégé-OWL 3.4

edu.stanford.smi.protegex.owl.ui.matrix
Interface MatrixFilter

All Known Subinterfaces:
DependentMatrixFilter
All Known Implementing Classes:
SubclassesMatrixFilter

public interface MatrixFilter

An interface for objects that can determine whether a certain Frame shall appear in a MatrixTable.

Author:
Holger Knublauch

Method Summary
 Collection getInitialValues()
          Gets the values that shall be taken to build up the contents of the matrix.
 String getName()
          Gets the name of the filter for display purposes (the tab name).
 boolean isSuitable(RDFResource instance)
          Checks whether a given Frame meets the requirements of this filter.
 

Method Detail

getInitialValues

Collection getInitialValues()
Gets the values that shall be taken to build up the contents of the matrix. These values will not be filtered using the isSuitable method.

Returns:
the initial values (Frames)

getName

String getName()
Gets the name of the filter for display purposes (the tab name).

Returns:
the name

isSuitable

boolean isSuitable(RDFResource instance)
Checks whether a given Frame meets the requirements of this filter.

Parameters:
instance - the Frame to test
Returns:
true if the Frame shall be included, false otherwise

Protégé-OWL 3.4

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.