Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## es.upm.gib.aewrapper.queryprocessing.test
Class SimpleTest

    java.lang.Object
      es.upm.gib.aewrapper.queryprocessing.test.SimpleTest

    public class SimpleTest

extends java.lang.Object

This class allows running simple tests of the library functionality. Simply run the main method to launch a query. The query can be modified editing the code inside the main function.

Nested Class Summary
`static class` | `SimpleTest.Progress` A progress control implementation example

Field Summary
`static java.lang.String` | `EXP_ID` The identifier of one specific experiment in ArrayExpress

Constructor Summary
`SimpleTest()`

Method Summary
`static java.lang.String` | `getBioAssayDataQuery()` Example query number 3
`static java.lang.String` | `getBioAssaysQuery()` Example query number 2
`static java.lang.String` | `getDescriptionsQuery()` Example query number 1
`static java.util.Collection<java.lang.String>` | `getKeywordsExample()` Keyword example
`static void` | `main(java.lang.String[] args)` Main method for launching the example.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### EXP_ID

    public static final java.lang.String EXP_ID

  The identifier of one specific experiment in ArrayExpress

  See Also:
    Constant Field Values

Constructor Detail

### SimpleTest

    public SimpleTest()

Method Detail

### main

    public static void main(java.lang.String[] args)

  Main method for launching the example. In this example, a SPARQL query is submitted to RDFBuilder, and its results are written in a file whose path is printed on the console

  Parameters:
    `args` - no arguments are needed to launch the test

### getDescriptionsQuery

    public static java.lang.String getDescriptionsQuery()

  Example query number 1

  Returns:
    a SPARQL query

### getBioAssaysQuery

    public static java.lang.String getBioAssaysQuery()

  Example query number 2

  Returns:
    a SPARQL query

### getBioAssayDataQuery

    public static java.lang.String getBioAssayDataQuery()

  Example query number 3

  Returns:
    a SPARQL query

### getKeywordsExample

    public static java.util.Collection<java.lang.String> getKeywordsExample()

  Keyword example

  Returns:
    a set of four keywords (organism, rattus, mammary, glands)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD