Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.bridge.query
Interface Result

All Known Implementing Classes:
ResultImpl

public interface Result

Interface that defines methods to process results from a SWRL query. See here for documentation.


Method Summary
 ClassValue getClassValue(int columnIndex)
           
 ClassValue getClassValue(String columnName)
           
 List<ResultValue> getColumn(int columnIndex)
           
 List<ResultValue> getColumn(String columnName)
           
 String getColumnName(int columnIndex)
           
 List<String> getColumnNames()
           
 DatatypeValue getDatatypeValue(int columnIndex)
           
 DatatypeValue getDatatypeValue(String columnName)
           
 int getNumberOfColumns()
           
 int getNumberOfRows()
           
 ObjectValue getObjectValue(int columnIndex)
           
 ObjectValue getObjectValue(String columnName)
           
 PropertyValue getPropertyValue(int columnIndex)
           
 PropertyValue getPropertyValue(String columnName)
           
 List<ResultValue> getRow()
           
 ResultValue getValue(int columnIndex)
           
 ResultValue getValue(int columnIndex, int rowIndex)
           
 ResultValue getValue(String columnName)
           
 boolean hasClassValue(int columnIndex)
           
 boolean hasClassValue(String columnName)
           
 boolean hasDatatypeValue(int columnIndex)
           
 boolean hasDatatypeValue(String columnName)
           
 boolean hasNext()
           
 boolean hasObjectValue(int columnIndex)
           
 boolean hasObjectValue(String columnName)
           
 boolean hasPropertyValue(int columnIndex)
           
 boolean hasPropertyValue(String columnName)
           
 void next()
           
 void reset()
           
 

Method Detail

getColumnNames

List<String> getColumnNames()
                            throws ResultException
Throws:
ResultException

getNumberOfColumns

int getNumberOfColumns()
                       throws ResultException
Throws:
ResultException

getColumnName

String getColumnName(int columnIndex)
                     throws ResultException
Throws:
ResultException

getNumberOfRows

int getNumberOfRows()
                    throws ResultException
Throws:
ResultException

reset

void reset()
           throws ResultException
Throws:
ResultException

next

void next()
          throws ResultException
Throws:
ResultException

hasNext

boolean hasNext()
                throws ResultException
Throws:
ResultException

hasObjectValue

boolean hasObjectValue(String columnName)
                       throws ResultException
Throws:
ResultException

hasObjectValue

boolean hasObjectValue(int columnIndex)
                       throws ResultException
Throws:
ResultException

hasDatatypeValue

boolean hasDatatypeValue(String columnName)
                         throws ResultException
Throws:
ResultException

hasDatatypeValue

boolean hasDatatypeValue(int columnIndex)
                         throws ResultException
Throws:
ResultException

hasClassValue

boolean hasClassValue(String columnName)
                      throws ResultException
Throws:
ResultException

hasClassValue

boolean hasClassValue(int columnIndex)
                      throws ResultException
Throws:
ResultException

hasPropertyValue

boolean hasPropertyValue(String columnName)
                         throws ResultException
Throws:
ResultException

hasPropertyValue

boolean hasPropertyValue(int columnIndex)
                         throws ResultException
Throws:
ResultException

getRow

List<ResultValue> getRow()
                         throws ResultException
Throws:
ResultException

getValue

ResultValue getValue(String columnName)
                     throws ResultException
Throws:
ResultException

getValue

ResultValue getValue(int columnIndex)
                     throws ResultException
Throws:
ResultException

getValue

ResultValue getValue(int columnIndex,
                     int rowIndex)
                     throws ResultException
Throws:
ResultException

getObjectValue

ObjectValue getObjectValue(String columnName)
                           throws ResultException
Throws:
ResultException

getObjectValue

ObjectValue getObjectValue(int columnIndex)
                           throws ResultException
Throws:
ResultException

getDatatypeValue

DatatypeValue getDatatypeValue(String columnName)
                               throws ResultException
Throws:
ResultException

getDatatypeValue

DatatypeValue getDatatypeValue(int columnIndex)
                               throws ResultException
Throws:
ResultException

getClassValue

ClassValue getClassValue(String columnName)
                         throws ResultException
Throws:
ResultException

getClassValue

ClassValue getClassValue(int columnIndex)
                         throws ResultException
Throws:
ResultException

getPropertyValue

PropertyValue getPropertyValue(String columnName)
                               throws ResultException
Throws:
ResultException

getPropertyValue

PropertyValue getPropertyValue(int columnIndex)
                               throws ResultException
Throws:
ResultException

getColumn

List<ResultValue> getColumn(String columnName)
                            throws ResultException
Throws:
ResultException

getColumn

List<ResultValue> getColumn(int columnIndex)
                            throws ResultException
Throws:
ResultException

Protégé-OWL 3.3.1

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