public class StructureRecord extends Object implements IStructureRecord
IStructureRecord.MOL_TYPE, IStructureRecord.STRUC_TYPE
Modifier and Type | Field and Description |
---|---|
protected String |
content |
protected int |
dataEntryID |
protected List<net.idea.modbcum.i.facet.IFacet> |
facets |
protected String |
format |
protected String |
formula |
protected int |
id_srcdataset |
protected int |
idchemical |
protected int |
idstructure |
protected String |
inchi |
protected String |
inchiKey |
protected boolean |
preferedStructure |
protected Map<Property,Object> |
properties |
protected ILiteratureEntry |
reference |
protected boolean |
selected |
protected String |
smiles |
protected IStructureRecord.STRUC_TYPE |
type |
Constructor and Description |
---|
StructureRecord() |
StructureRecord(int idchemical,
int idstructure,
String content,
String format) |
protected boolean preferedStructure
protected int dataEntryID
protected int id_srcdataset
protected String inchiKey
protected String formula
protected String smiles
protected String inchi
protected int idchemical
protected int idstructure
protected String content
protected String format
protected ILiteratureEntry reference
protected IStructureRecord.STRUC_TYPE type
protected boolean selected
protected List<net.idea.modbcum.i.facet.IFacet> facets
public int getDataEntryID()
IStructureRecord
getDataEntryID
in interface IStructureRecord
public void setDataEntryID(int dataEntryID)
setDataEntryID
in interface IStructureRecord
public IStructureRecord.STRUC_TYPE getType()
getType
in interface IStructureRecord
public void setType(IStructureRecord.STRUC_TYPE type)
setType
in interface IStructureRecord
public String getFormula()
getFormula
in interface IChemical
public void setFormula(String formula)
setFormula
in interface IChemical
public void setInchiKey(String key)
setInchiKey
in interface IChemical
public String getInchiKey()
getInchiKey
in interface IChemical
public String getFormat()
getFormat
in interface IStructureRecord
public void setFormat(String format)
setFormat
in interface IStructureRecord
public int getIdchemical()
getIdchemical
in interface IChemical
public void setIdchemical(int idchemical)
setIdchemical
in interface IChemical
public int getIdstructure()
getIdstructure
in interface IStructureRecord
public void setIdstructure(int idstructure)
setIdstructure
in interface IStructureRecord
public String getContent()
getContent
in interface IStructureRecord
public String getWritableContent()
getWritableContent
in interface IStructureRecord
public void setContent(String content)
setContent
in interface IStructureRecord
public Object getRecordProperty(Property key)
getRecordProperty
in interface IStructureRecord
public void setRecordProperty(Property key, Object value)
setRecordProperty
in interface IStructureRecord
public Iterable<Property> getRecordProperties()
getRecordProperties
in interface IStructureRecord
public void clear()
clear
in interface IStructureRecord
public int getNumberOfProperties()
getNumberOfProperties
in interface IStructureRecord
public Object removeRecordProperty(Property key)
removeRecordProperty
in interface IStructureRecord
public void clearProperties()
clearProperties
in interface IStructureRecord
public void addRecordProperties(Map newProperties)
addRecordProperties
in interface IStructureRecord
public ILiteratureEntry getReference()
getReference
in interface IStructureRecord
public void setReference(ILiteratureEntry reference)
setReference
in interface IStructureRecord
public Object clone() throws CloneNotSupportedException
clone
in interface IStructureRecord
clone
in class Object
CloneNotSupportedException
public boolean isSelected()
isSelected
in interface IStructureRecord
public void setSelected(boolean value)
setSelected
in interface IStructureRecord
public boolean usePreferedStructure()
usePreferedStructure
in interface IChemical
usePreferedStructure
in interface IStructureRecord
public void setUsePreferedStructure(boolean value)
setUsePreferedStructure
in interface IChemical
setUsePreferedStructure
in interface IStructureRecord
public int getDatasetID()
getDatasetID
in interface IStructureRecord
public void setDatasetID(int id)
setDatasetID
in interface IStructureRecord
public void addFacet(net.idea.modbcum.i.facet.IFacet facet)
addFacet
in interface IStructureRecord
public void clearFacets()
clearFacets
in interface IStructureRecord
public Iterable<net.idea.modbcum.i.facet.IFacet> getFacets()
getFacets
in interface IStructureRecord
public void removeFacet(net.idea.modbcum.i.facet.IFacet facet)
removeFacet
in interface IStructureRecord
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.