public class OpsinResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OpsinResult.OPSIN_RESULT_STATUS
Whether parsing the chemical name was successful,
encountered problems or was unsuccessful.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChemicalName()
Returns the chemical name that this OpsinResult was generated frm
|
nu.xom.Element |
getCml()
Lazily evaluates and returns the CML corresponding to the molecule described by the name
If name generation failed i.e.
|
java.lang.String |
getMessage()
Returns a message explaining why generation of a molecule from the name failed
This string will be blank when no problems were encountered
|
java.lang.String |
getSmiles()
Lazily evaluates and returns the SMILES corresponding to the molecule described by the name
If name generation failed i.e.
|
OpsinResult.OPSIN_RESULT_STATUS |
getStatus()
Returns an enum with values SUCCESS, WARNING and FAILURE
Currently warning is never used
|
public OpsinResult.OPSIN_RESULT_STATUS getStatus()
public java.lang.String getMessage()
public java.lang.String getChemicalName()
public nu.xom.Element getCml()
public java.lang.String getSmiles()