Public Member Functions | |
boolean | deleteActionRecipe (String uid) |
boolean | deleteEnvironment (String uid) |
boolean | deleteEnvironmentBinaryFile (String uid, String filename) |
boolean | deleteObject (String uid) |
boolean | deleteObjectBinaryFile (String uid, String filename) |
String | queryActionRecipeDB (String seRQLquery) |
String | queryEnvironmentDB (String seRQLquery) |
String | queryObjectDB (String seRQLquery) |
REConnectionMySQL () | |
ArrayList< byte[]> | request2dMap (String envUid, OWLOntology srdl, String baseScannerLink, String simpleMapNameWithoutExt) |
String | requestActionRecipe (String id) |
String | requestEnvironment (String id) |
String | requestEnvironment (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs) |
File | requestEnvironmentBinaryFile (String objectUID, String filename, String targetPath) |
byte[] | requestEnvironmentBinaryFile (String objectUID, String filename) |
String | requestObject (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs) |
File | requestObjectBinaryFile (String objectUID, String filename, String targetPath) |
byte[] | requestObjectBinaryFile (String objectUID, String filename) |
ArrayList< byte[]> | requestProjected2dMap (String envUid, double minZ, double maxZ, String simpleMapNameWithoutExt) |
String | requestRobot (String uid) |
String[] | searchActionRecipes (String searchID, ArrayList< String > outUIDs) |
String[] | searchEnvironments (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs) |
String[] | searchObjects (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs) |
boolean | submitActionRecipe (OWLOntology actionRecipe, String id, String tags, String description) |
boolean | submitActionRecipe (String actionRecipe, String cls, String id, String description) |
boolean | submitEnvironment (OWLOntology map, String id, String tags, String description) |
boolean | submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitEnvironment (String env, String cls, String id, String description) |
boolean | submitEnvironment (String env, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitEnvironment (String env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitEnvironmentBinaryFile (String uid, File file) |
boolean | submitEnvironmentBinaryFile (String uid, byte[] data, String filename) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitObject (String objectOwl, String cls, String id, String description) |
boolean | submitObject (String objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitObject (String objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitObjectBinaryFile (String uid, File file) |
boolean | submitObjectBinaryFile (String uid, byte[] data, String filename) |
boolean | updateActionRecipe (String uid, OWLOntology actionRecipe, String description) |
boolean | updateActionRecipe (String uid, String actionRecipe, String description) |
boolean | updateEnvironment (String uid, OWLOntology env, String description) |
boolean | updateEnvironment (String uid, String env, String description) |
boolean | updateEnvironmentBinaryFile (String uid, File file) |
boolean | updateEnvironmentBinaryFile (String uid, byte[] data, String filename) |
boolean | updateObject (String uid, OWLOntology objectOwl, String description) |
boolean | updateObject (String uid, String objectOwl, String description) |
boolean | updateObjectBinaryFile (String uid, File file) |
boolean | updateObjectBinaryFile (String uid, byte[] data, String filename) |
Static Public Member Functions | |
static String | cleanOWLString (String owlData) |
static void | main (String[] args) |
Static Public Attributes | |
static final String | roboEarthMysqlDB = "roboearth" |
static final String | roboEarthMysqlHost = "atradig131.informatik.tu-muenchen.de" |
static final String | roboEarthMysqlPassword = "RoboEarth2010" |
static final String | roboEarthMysqlUser = "roboearth" |
Protected Attributes | |
Connection | conn = null |
The REConnection class provides means to interact with the RoboEarth web interface. It contains methods to submit and retrieve all supported kinds of information relevant to the RoboEarth project.
MySQL-based implementation by Moritz Tenorth
Definition at line 76 of file REConnectionMySQL.java.
Definition at line 103 of file REConnectionMySQL.java.
static String roboearth.wp5.conn.REConnectionMySQL.cleanOWLString | ( | String | owlData | ) | [inline, static] |
Replaces HTML entities within the given string with the characters they represent, e.g. the HTML entity <xmp><</xmp> will be replaced with the symbol <
owlData | the owl data string to be cleaned |
Definition at line 319 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.deleteActionRecipe | ( | String | uid | ) | [inline] |
Deletes an action recipe from the RoboEarth DB.
uid | the action recipe's unique identifier |
true
- if the recipe was successfully deletedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 373 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.deleteEnvironment | ( | String | uid | ) | [inline] |
Deletes an environment from the RoboEarth DB.
uid | the environment's unique identifier |
true
- if the environment was successfully deletedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 382 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.deleteEnvironmentBinaryFile | ( | String | uid, |
String | filename | ||
) | [inline] |
Deletes a binary file which is related to the specified environment description.
uid | the environment's unique identifier |
filename | the unique filename (among all files related to the specified environment) |
true
- if the file was successfully deletedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 391 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.deleteObject | ( | String | uid | ) | [inline] |
Deletes an object description from the RoboEarth DB. All linked binary files get deleted, too.
uid | the object's unique identifier |
true
- if the object description was successfully deletedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 400 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.deleteObjectBinaryFile | ( | String | uid, |
String | filename | ||
) | [inline] |
Deletes a binary file which is related to the specified object description.
uid | the object's unique identifier |
filename | the unique filename (among all files related to the specified object) |
true
- if the file was successfully deletedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 409 of file REConnectionMySQL.java.
static void roboearth.wp5.conn.REConnectionMySQL.main | ( | String[] | args | ) | [inline, static] |
Main method for testing purposes only.
Definition at line 328 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.queryActionRecipeDB | ( | String | seRQLquery | ) | [inline] |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on action recipes.
seRQLquery | a SeRQL query |
Implements roboearth.wp5.conn.REInterface.
Definition at line 418 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.queryEnvironmentDB | ( | String | seRQLquery | ) | [inline] |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on environments.
seRQLquery | a SeRQL query |
Implements roboearth.wp5.conn.REInterface.
Definition at line 427 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.queryObjectDB | ( | String | seRQLquery | ) | [inline] |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on objects.
seRQLquery | a SeRQL query |
Implements roboearth.wp5.conn.REInterface.
Definition at line 436 of file REConnectionMySQL.java.
ArrayList<byte[]> roboearth.wp5.conn.REConnectionMySQL.request2dMap | ( | String | envUid, |
OWLOntology | srdl, | ||
String | baseScannerLink, | ||
String | simpleMapNameWithoutExt | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 694 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.requestActionRecipe | ( | String | uid | ) | [inline] |
Requests an action recipe.
uid | the action recipe's unique identifier |
Implements roboearth.wp5.conn.REInterface.
Definition at line 131 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.requestEnvironment | ( | String | id | ) | [inline] |
Definition at line 191 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.requestEnvironment | ( | String | uid, |
ArrayList< String > | outFilenames, | ||
ArrayList< String > | outFileURLs | ||
) | [inline] |
Requests a description of an environment. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.
uid | the environment's identifier |
outFilenames | this list will be used to return the names of associated files |
outFileURLs | this list will be used to return the URLs of associated files |
Implements roboearth.wp5.conn.REInterface.
Definition at line 445 of file REConnectionMySQL.java.
File roboearth.wp5.conn.REConnectionMySQL.requestEnvironmentBinaryFile | ( | String | envUID, |
String | filename, | ||
String | targetPath | ||
) | [inline] |
Requests an environment related binary file.
envUID | the environment's ID the file is related to |
filename | the unique filename (among all files related to the specified environment) |
targetPath | the path where the file shall be stored |
Implements roboearth.wp5.conn.REInterface.
Definition at line 455 of file REConnectionMySQL.java.
byte [] roboearth.wp5.conn.REConnectionMySQL.requestEnvironmentBinaryFile | ( | String | envUID, |
String | filename | ||
) | [inline] |
Requests an environment related binary file.
envUID | the environment's ID the file is related to |
filename | the unique filename (among all files related to the specified environment) |
Implements roboearth.wp5.conn.REInterface.
Definition at line 465 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.requestObject | ( | String | uid, |
ArrayList< String > | outFilenames, | ||
ArrayList< String > | outFileURLs | ||
) | [inline] |
Requests information about an object. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.
uid | the object's unique identifier |
outFilenames | this list will be used to return the names of associated files |
outFileURLs | this list will be used to return the URLs of associated files |
Implements roboearth.wp5.conn.REInterface.
Definition at line 474 of file REConnectionMySQL.java.
File roboearth.wp5.conn.REConnectionMySQL.requestObjectBinaryFile | ( | String | objectUID, |
String | filename, | ||
String | targetPath | ||
) | [inline] |
Requests an object related binary file.
objectUID | the object's ID the file is related to |
filename | the unique filename (among all files related to the specified object) |
targetPath | the path where the file shall be stored |
Implements roboearth.wp5.conn.REInterface.
Definition at line 484 of file REConnectionMySQL.java.
byte [] roboearth.wp5.conn.REConnectionMySQL.requestObjectBinaryFile | ( | String | objectUID, |
String | filename | ||
) | [inline] |
Requests an object related binary file.
objectUID | the object's ID the file is related to |
filename | the unique filename (among all files related to the specified object) |
Implements roboearth.wp5.conn.REInterface.
Definition at line 494 of file REConnectionMySQL.java.
ArrayList<byte[]> roboearth.wp5.conn.REConnectionMySQL.requestProjected2dMap | ( | String | envUid, |
double | minZ, | ||
double | maxZ, | ||
String | simpleMapNameWithoutExt | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 704 of file REConnectionMySQL.java.
String roboearth.wp5.conn.REConnectionMySQL.requestRobot | ( | String | uid | ) | [inline] |
Requests a robot description.
uid | the robot's unique identifier |
Implements roboearth.wp5.conn.REInterface.
Definition at line 729 of file REConnectionMySQL.java.
String [] roboearth.wp5.conn.REConnectionMySQL.searchActionRecipes | ( | String | searchID, |
ArrayList< String > | outUIDs | ||
) | [inline] |
Searches for action recipes whose uid starts with the given search string.
searchID | any prefix of an uid |
Implements roboearth.wp5.conn.REInterface.
Definition at line 503 of file REConnectionMySQL.java.
String [] roboearth.wp5.conn.REConnectionMySQL.searchEnvironments | ( | String | searchID, |
ArrayList< String > | outUIDs, | ||
ArrayList< ArrayList< String >> | outFilenames, | ||
ArrayList< ArrayList< String >> | outFileURLs | ||
) | [inline] |
Searches for environments whose uid starts with the given search string.
searchID | any prefix of an uid |
outFilenames | this list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
outFileURLs | this list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
Implements roboearth.wp5.conn.REInterface.
Definition at line 513 of file REConnectionMySQL.java.
String [] roboearth.wp5.conn.REConnectionMySQL.searchObjects | ( | String | searchID, |
ArrayList< String > | outUIDs, | ||
ArrayList< ArrayList< String >> | outFilenames, | ||
ArrayList< ArrayList< String >> | outFileURLs | ||
) | [inline] |
Searches for object descriptions whose uid starts with the given search string.
searchID | any prefix of an uid |
outUIDs | this list will be used to return the UIDs of all found objects |
outFilenames | this list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
outFileURLs | this list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
Implements roboearth.wp5.conn.REInterface.
Definition at line 525 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitActionRecipe | ( | OWLOntology | actionRecipe, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits an action recipe to the RoboEarth DB.
actionRecipe | OWLOntology object containing the action recipe |
cls | the class the action recipe belongs to |
id | the action recipe's identifier |
description | a natural language description of the recipe's functionality |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 251 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitActionRecipe | ( | String | actionRecipe, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits an action recipe to the RoboEarth DB.
actionRecipe | String containing the action recipe |
cls | the class the action recipe belongs to |
id | the action recipe's identifier |
description | a natural language description of the recipe's functionality |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 741 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits a description of an environment to the RoboEarth DB.
env | OWLOntology object containing the environment's description |
cls | the class the environment belongs to |
id | the environment's identifier |
description | a natural language description of the environment |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 282 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 536 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 546 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits a description of an environment to the RoboEarth DB.
env | String containing the environment's description |
cls | the class the environment belongs to |
id | the environment's identifier |
description | a natural language description of the environment |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 754 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 767 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 780 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironmentBinaryFile | ( | String | uid, |
File | file | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 557 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitEnvironmentBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) | [inline] |
Implements roboearth.wp5.conn.REInterface.
Definition at line 566 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits an object's description to the RoboEarth DB.
object_owl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 576 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) | [inline] |
Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryFiles | object related binary files |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 586 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) | [inline] |
Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryData | the content of the files in byte arrays |
filenames | the unique filenames (among all files related to the specified object) |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 596 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description | ||
) | [inline] |
Submits an object's description to the RoboEarth DB.
object_owl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 794 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) | [inline] |
Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryFiles | object related binary files |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 807 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) | [inline] |
Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryData | the content of the files in byte arrays |
filenames | the unique filenames (among all files related to the specified object) |
true
- if submission was successfully completedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 820 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObjectBinaryFile | ( | String | uid, |
File | file | ||
) | [inline] |
Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.
uid | the unique identifier of the resource the given binary file is linked with |
file | file to submit |
true
if binary file was submitted successfully, false
otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 607 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.submitObjectBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) | [inline] |
Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.
uid | the unique identifier of the resource the given binary file is linked with |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified object) |
true
if binary file was submitted successfully, false
otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 616 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateActionRecipe | ( | String | uid, |
OWLOntology | actionRecipe, | ||
String | description | ||
) | [inline] |
Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.
uid | the action recipe's unique identifier |
actionRecipe | OWLOntology object containing the action recipe |
description | a natural language description of the recipe's functionality |
true
- if the recipe was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 626 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateActionRecipe | ( | String | uid, |
String | actionRecipe, | ||
String | description | ||
) | [inline] |
Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.
uid | the action recipe's unique identifier |
actionRecipe | String containing the action recipe |
description | a natural language description of the recipe's functionality |
true
- if the recipe was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 834 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateEnvironment | ( | String | uid, |
OWLOntology | env, | ||
String | description | ||
) | [inline] |
Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.
uid | the environment's unique identifier |
env | OWLOntology object containing the environment's description |
description | a natural language description of the environment |
true
- if the environment was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 636 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateEnvironment | ( | String | uid, |
String | env, | ||
String | description | ||
) | [inline] |
Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.
uid | the environment's unique identifier |
env | String containing the environment's description |
description | a natural language description of the environment |
true
- if the environment was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 847 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateEnvironmentBinaryFile | ( | String | uid, |
File | file | ||
) | [inline] |
Updates (replaces) the specified environment related binary file with the given file.
uid | the environment's unique identifier |
true
- if the file was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 646 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateEnvironmentBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) | [inline] |
Updates (replaces) the specified environment related binary file with the content of the given byte array.
uid | the environment's unique identifier |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified environment) |
true
- if the file was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 655 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateObject | ( | String | uid, |
OWLOntology | objectOwl, | ||
String | description | ||
) | [inline] |
Updates the object specified by the parameter uid with the given OWL and natural language descriptions.
uid | the object's unique identifier |
objectOwl | OWLOntology object containing the object's description |
description | a natural language description of the object |
true
- if the object was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 665 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateObject | ( | String | uid, |
String | objectOwl, | ||
String | description | ||
) | [inline] |
Updates the object specified by the parameter uid with the given OWL and natural language descriptions.
uid | the object's unique identifier |
objectOwl | String containing the object's description |
description | a natural language description of the object |
true
- if the object was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 717 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateObjectBinaryFile | ( | String | uid, |
File | file | ||
) | [inline] |
Updates (replaces) the specified object related binary file with the given file.
uid | the object's unique identifier |
true
- if the file was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 675 of file REConnectionMySQL.java.
boolean roboearth.wp5.conn.REConnectionMySQL.updateObjectBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) | [inline] |
Updates (replaces) the specified object related binary file with the content of the given byte array.
uid | the object's unique identifier |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified object) |
true
- if the file was successfully updatedfalse
- otherwise Implements roboearth.wp5.conn.REInterface.
Definition at line 684 of file REConnectionMySQL.java.
Connection roboearth.wp5.conn.REConnectionMySQL.conn = null [protected] |
Definition at line 100 of file REConnectionMySQL.java.
final String roboearth.wp5.conn.REConnectionMySQL.roboEarthMysqlDB = "roboearth" [static] |
Host name of the RE MySQL database
Definition at line 87 of file REConnectionMySQL.java.
final String roboearth.wp5.conn.REConnectionMySQL.roboEarthMysqlHost = "atradig131.informatik.tu-muenchen.de" [static] |
Host name of the RE MySQL database
Definition at line 82 of file REConnectionMySQL.java.
final String roboearth.wp5.conn.REConnectionMySQL.roboEarthMysqlPassword = "RoboEarth2010" [static] |
Host name of the RE MySQL database
Definition at line 97 of file REConnectionMySQL.java.
final String roboearth.wp5.conn.REConnectionMySQL.roboEarthMysqlUser = "roboearth" [static] |
Host name of the RE MySQL database
Definition at line 92 of file REConnectionMySQL.java.