Uses of Class
laas.openrobots.ontology.exceptions.IllegalStatementException
Packages that use IllegalStatementException
Package
Description
Base package, that mainly stores the oro-server entry class,
OroServer
.Provides the actual underlying ontology-based storage.
Allows explicit representation of other agents with independant models of
the world.
Provides unit-tests suites fro oro-server.
-
Uses of IllegalStatementException in laas.openrobots.ontology
Constructors in laas.openrobots.ontology that throw IllegalStatementExceptionModifierConstructorDescriptionPartialStatement
(String partialStatement, com.hp.hpl.jena.rdf.model.impl.ModelCom model) Create a new partial statement from its string representation.
Works asOpenRobotsOntology.createStatement(String)
except at least one variable, prepended with a "?", is expected. This class implementsStatement
, but thePartialStatement.getSubject()
,PartialStatement.getPredicate()
andPartialStatement.getObject()
method will returnnull
if the corresponding part of the statement is unbounded. -
Uses of IllegalStatementException in laas.openrobots.ontology.backends
Methods in laas.openrobots.ontology.backends that throw IllegalStatementExceptionModifier and TypeMethodDescriptionboolean
IOntologyBackend.add
(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe) Deprecated.boolean
IOntologyBackend.add
(Set<com.hp.hpl.jena.rdf.model.Statement> statements, MemoryProfile memProfile, boolean safe) Adds a set of new statements (assertion) to the ontology.boolean
OpenRobotsOntology.add
(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe) boolean
OpenRobotsOntology.add
(Set<com.hp.hpl.jena.rdf.model.Statement> statements, MemoryProfile memProfile, boolean safe) IOntologyBackend.createPartialStatement
(String statement) This static method acts as a PartialStatement factory.OpenRobotsOntology.createPartialStatement
(String statement) com.hp.hpl.jena.rdf.model.Statement
IOntologyBackend.createStatement
(String statement) This static method acts as a Statement factory.com.hp.hpl.jena.rdf.model.Statement
OpenRobotsOntology.createStatement
(String statement) void
void
Update the value of a property.void
-
Uses of IllegalStatementException in laas.openrobots.ontology.helpers
Methods in laas.openrobots.ontology.helpers that throw IllegalStatementExceptionModifier and TypeMethodDescriptionstatic com.hp.hpl.jena.rdf.model.RDFNode
Helpers.parseLiteral
(String lex, com.hp.hpl.jena.rdf.model.impl.ModelCom model) Parse a SPARQL string representing a literal to an actual JenaLiteral
. -
Uses of IllegalStatementException in laas.openrobots.ontology.modules.alterite
Methods in laas.openrobots.ontology.modules.alterite that throw IllegalStatementExceptionModifier and TypeMethodDescriptionvoid
AlteriteModule.addForAgent
(String id, Set<String> rawStmts) Add statements in a specific agent cognitive model.void
AlteriteModule.addForAgent
(String id, Set<String> rawStmts, String memProfile) Add statements in a specific agent cognitive model with a specific memory model.void
AlteriteModule.clearForAgent
(String id, Set<String> rawStmts) AlteriteModule.findForAgent
(String id, String varName, Set<String> statements) AlteriteModule.lookupForAgent
(String agent_id, String id) void
AlteriteModule.removeForAgent
(String id, Set<String> rawStmts) Deprecated.void
Generic knowledge revision requestboolean
AlteriteModule.safeAddForAgent
(String id, Set<String> rawStmts) boolean
AlteriteModule.safeAddForAgent
(String id, Set<String> rawStmts, String memProfile) Adds statements in a specific agent cognitive model with a specific memory model, but only if the statement doesn't cause any inconsistency.void
AlteriteModule.updateForAgent
(String id, Set<String> rawStmts) -
Uses of IllegalStatementException in laas.openrobots.ontology.modules.base
Methods in laas.openrobots.ontology.modules.base that throw IllegalStatementExceptionModifier and TypeMethodDescriptionvoid
LikeBaseModule.add(Set<String>, String)
with theMemoryProfile.DEFAULT
memory profile.void
Adds a set of statements (assertions) to the ontology from their string representation in the given memory profile.
This method does nothing if the statements already exist with the same memory profile.BaseModule.checkConsistency
(Set<String> rawStmts) Checks that a set of statements are consistent with the current model.void
Removes all statements matching any statements or partial statements in the provided set.Tries to identify a resource given a set of partially defined statements about this resource.
This is a simpler form forBaseModule.find(String, Set, Set)
, without filters.Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
First simple example:void
Deprecated.UseBaseModule.clear(Set)
instead.boolean
boolean
Adds statements with a specific memory model, but only if the statement doesn't cause any inconsistency.void
Update the value of a property. -
Uses of IllegalStatementException in laas.openrobots.ontology.tests
Methods in laas.openrobots.ontology.tests that throw IllegalStatementExceptionModifier and TypeMethodDescriptionvoid
OpenRobotsOntologyTest.alteriteModule1()
This test checks that the Alterite module works as expected regarding addition of agents.void
OpenRobotsOntologyTest.alteriteModule2()
This test checks Alterite module general methods.void
EventsTest.clearEvent()
void
EventsTest.clearEvents()
void
EventsTest.eventsFactChecking()
void
EventsTest.eventsFactCheckingAlternateModel()
void
EventsTest.eventsNewClassInstance()
This tests event framework on "NEW_CLASS_INSTANCE" type of eventsvoid
EventsTest.eventsNewInstance()
This tests event framework on "NEW_INSTANCE" type of eventsvoid
EventsTest.eventsNewInstanceWithSameAs()
This tests event "NEW_INSTANCE" with owl:sameAs predicatevoid
OpenRobotsOntologyTest.getInfos()
This test retrieve in the ontology details about a resource.void
OpenRobotsOntologyTest.getInfosDefaultNs()
This test is exactly the same asinvalid reference
#testGetInfos()
IOntologyBackend.add(Set, MemoryProfile, boolean)
instead