bbopx. | |
bbopx. | Generic BBOP handler for dealing with the gross parsing of responses from the GO Molecular Model Manager REST server JSON responses. |
Functions | |
response | Contructor for a GO MMM REST JSON response object. |
user_id | Returns the user id (uid) for a call if it was generated my a known user. |
intention | Returns the user intention for a call. |
signal | Returns the server’s action signal, if there was one. |
commentary | Returns the commentary object (whatever that might be in any given case). |
data | Returns the data object (whatever that might be in any given case). |
model_id | Returns the model id of the response. |
inconsistent_p | Returns true or false on whether or not the returned model is thought to be inconsistent. |
facts | Returns a list of the facts in the response. |
properties | Returns a list of the properties in the response. |
individuals | Returns a list of the individuals in the response. |
inferred_individuals | Returns a list of the inferred_individuals in the response. |
relations | Returns a list of the relations found in the response. |
evidence | Returns a list of the evidence found in the response. |
annotations | Returns a list of the (complex) annotations found in the response. |
model_ids | Returns a list the model ids found in the response. |
Generic BBOP handler for dealing with the gross parsing of responses from the GO Molecular Model Manager REST server JSON responses.
It will detect if the incoming response is structured correctly and give safe access to fields and properties.
It is not meant to be a model for the parts in the data section.
BUG/NOTE: This is slated to replace the bbop.rest.response.mmm package after it reaches maturity.
Functions | |
response | Contructor for a GO MMM REST JSON response object. |
user_id | Returns the user id (uid) for a call if it was generated my a known user. |
intention | Returns the user intention for a call. |
signal | Returns the server’s action signal, if there was one. |
commentary | Returns the commentary object (whatever that might be in any given case). |
data | Returns the data object (whatever that might be in any given case). |
model_id | Returns the model id of the response. |
inconsistent_p | Returns true or false on whether or not the returned model is thought to be inconsistent. |
facts | Returns a list of the facts in the response. |
properties | Returns a list of the properties in the response. |
individuals | Returns a list of the individuals in the response. |
inferred_individuals | Returns a list of the inferred_individuals in the response. |
relations | Returns a list of the relations found in the response. |
evidence | Returns a list of the evidence found in the response. |
annotations | Returns a list of the (complex) annotations found in the response. |
model_ids | Returns a list the model ids found in the response. |
Returns the user id (uid) for a call if it was generated my a known user.
bbopx.barista.response.prototype.user_id = function()
Returns the user intention for a call.
bbopx.barista.response.prototype.intention = function()
Returns the server’s action signal, if there was one.
bbopx.barista.response.prototype.signal = function()
Returns a list of the relations found in the response.
bbopx.barista.response.prototype.relations = function()
Returns a list of the evidence found in the response.
bbopx.barista.response.prototype.evidence = function()
Returns a list of the (complex) annotations found in the response.
bbopx.barista.response.prototype.annotations = function()
Returns a list the model ids found in the response.
bbopx.barista.response.prototype.model_ids = function()