Protege-OWL 3.5 beta

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
 java.util.Collection getInitialValues()
          Gets the values that shall be taken to build up the contents of the matrix.
 java.lang.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

java.util.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

java.lang.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

Protege-OWL 3.5 beta

Submit a bug report or feature request
${copyright}