Mercurial > repos > mikel-egana-aranguren > sparql_galaxy
diff src/es/cbgp/galaxy/sparql/main/Result.java @ 0:137f9a4a6337 draft
First version to init the repo, still README etc to add but it works
author | mikel-egana-aranguren |
---|---|
date | Thu, 25 Oct 2012 12:17:40 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/es/cbgp/galaxy/sparql/main/Result.java Thu Oct 25 12:17:40 2012 -0400 @@ -0,0 +1,23 @@ +package es.cbgp.galaxy.sparql.main; + +public class Result { + private boolean boolValue; + private String message; + + public Result(boolean b, String m) { + this.boolValue = b; + this.message = m; + } + + public Result(boolean b) { + this.boolValue = b; + } + + public String getMessage() { + return this.message; + } + + public boolean getBoolValue() { + return this.boolValue; + } +}