Interface IMoleculeData
- All Known Implementing Classes:
MoleculeData
IMoleculeData interface contains Molecule class and related data
-
Method Summary
Modifier and TypeMethodDescriptionCreates a Molecule content for the MoleculeDataReturns the format of the Molecule contentgetId()
Returns the id of the Molecule contentReturns the Molecule content of the MoleculeDataReturns the structure of the Molecule contentLists all sub structures belonging to this main structure.boolean
isEmpty()
Determines if we have an empty Molecule Data object.void
Sets the Id of the Molecule contentvoid
setSubStructures
(IMoleculeData[] subStructures) Assign sub structure to this main structure.
-
Method Details
-
getMolecule
Returns the Molecule content of the MoleculeData- Returns:
- Molecule
- Throws:
MolFormatException
-
createMolecule
Creates a Molecule content for the MoleculeData- Returns:
- Molecule
- Throws:
MolFormatException
-
getStructure
Returns the structure of the Molecule content- Returns:
- Structure of the Molecule
- Throws:
IOException
-
getFormat
String getFormat()Returns the format of the Molecule content- Returns:
- Format of the Molecule
-
getId
String getId()Returns the id of the Molecule content- Returns:
- Id of the Molecule
-
setId
Sets the Id of the Molecule content- Parameters:
id
- - The identifier of the Molecule
-
isEmpty
boolean isEmpty()Determines if we have an empty Molecule Data object.- Returns:
- true if there is no molecule data specified.
-
getSubStructures
IMoleculeData[] getSubStructures()Lists all sub structures belonging to this main structure. (e.g. reaction components)- Returns:
- Array of sub structures
-
setSubStructures
Assign sub structure to this main structure. (e.g. Scaffold)- Parameters:
List
- of sub structures
-