private void setDatabaseClient ( DatabaseClient databaseClient ) { this . databaseClient = databaseClient ; this . sparqlManager = getDatabaseClient ( ) . newSPARQLQueryManager ( ) ; this . graphManager = getDatabaseClient ( ) . newGraphManager ( ) ; }
set databaseclient and instantate related managers