mmm.js | |
bbop. | Generic BBOP handler for dealing with the gross parsing of responses from the GO Molecular Model Manager REST server JSON responses. |
Functions | |
mmm | Contructor for a GO MMM REST JSON response object. |
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. |
relations | Returns a list of the relations 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.
Functions | |
mmm | Contructor for a GO MMM REST JSON response object. |
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. |
relations | Returns a list of the relations found in the response. |
Contructor for a GO MMM REST JSON response object.
bbop.rest.response.mmm = function( raw_data )
Returns the commentary object (whatever that might be in any given case).
bbop.rest.response.mmm.prototype.commentary = function()
Returns the data object (whatever that might be in any given case).
bbop.rest.response.mmm.prototype.data = function()
Returns the model id of the response.
bbop.rest.response.mmm.prototype.model_id = function()
Returns true or false on whether or not the returned model is thought to be inconsistent.
bbop.rest.response.mmm.prototype.inconsistent_p = function()
Returns a list of the facts in the response.
bbop.rest.response.mmm.prototype.facts = function()
Returns a list of the properties in the response.
bbop.rest.response.mmm.prototype.properties = function()
Returns a list of the individuals in the response.
bbop.rest.response.mmm.prototype.individuals = function()
Returns a list of the relations found in the response.
bbop.rest.response.mmm.prototype.relations = function()