edu.stanford.smi.protegex.owl.ui.search.finder
Class FindResult

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.search.finder.FindResult

public class FindResult
extends Object

Author:
Nick Drummond, Medical Informatics Group, University of Manchester 03-Oct-2005

Field Summary
private  String lang
           
static int LANG
           
static int NUM_COLUMNS
           
private  edu.stanford.smi.protege.model.Slot prop
           
static int PROPERTY_NAME
           
private  RDFResource res
           
static int RESOURCE_NAME
           
private  String searchTerm
           
private  Object value
           
static int VALUE
           
 
Constructor Summary
FindResult(RDFResource res, edu.stanford.smi.protege.model.Slot prop, Object value, String lang, String searchTerm)
           
FindResult(RDFResource res, edu.stanford.smi.protege.model.Slot prop, String searchTerm)
           
 
Method Summary
 Object get(int columnIndex)
           
static String getColumnName(int column)
           
 RDFResource getHost()
           
private  boolean matches(String value, String searchTerm)
           
private  String render(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_NAME

public static final int RESOURCE_NAME
See Also:
Constant Field Values

PROPERTY_NAME

public static final int PROPERTY_NAME
See Also:
Constant Field Values

VALUE

public static final int VALUE
See Also:
Constant Field Values

LANG

public static final int LANG
See Also:
Constant Field Values

NUM_COLUMNS

public static final int NUM_COLUMNS
See Also:
Constant Field Values

res

private RDFResource res

prop

private edu.stanford.smi.protege.model.Slot prop

value

private Object value

lang

private String lang

searchTerm

private String searchTerm
Constructor Detail

FindResult

public FindResult(RDFResource res,
                  edu.stanford.smi.protege.model.Slot prop,
                  String searchTerm)

FindResult

public FindResult(RDFResource res,
                  edu.stanford.smi.protege.model.Slot prop,
                  Object value,
                  String lang,
                  String searchTerm)
Method Detail

get

public Object get(int columnIndex)

render

private String render(String value)

getHost

public RDFResource getHost()

getColumnName

public static String getColumnName(int column)

matches

private boolean matches(String value,
                        String searchTerm)