@Entity @Indexed public class ChemicalStructureImpl extends L3ElementImpl implements ChemicalStructure
FIELD_AVAILABILITY, FIELD_COMMENT, FIELD_DATASOURCE, FIELD_ECNUMBER, FIELD_KEYWORD, FIELD_NAME, FIELD_ORGANISM, FIELD_PATHWAY, FIELD_SEQUENCE, FIELD_TERM, FIELD_XREFDB, FIELD_XREFID, FILTER_BY_DATASOURCE, FILTER_BY_ORGANISM
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
Constructor and Description |
---|
ChemicalStructureImpl() |
Modifier and Type | Method and Description |
---|---|
int |
equivalenceCode()
If two elements are equivalent, then their equivalence code should be the
same.
|
Class<? extends ChemicalStructure> |
getModelInterface()
This method returns the actual model interface that a class implements.
|
String |
getStructureData()
|
StructureFormatType |
getStructureFormat()
This property specifies which format is used to define chemical structure.
|
protected boolean |
semanticallyEquivalent(BioPAXElement element) |
void |
setStructureData(String structureData)
|
void |
setStructureFormat(StructureFormatType structureFormat)
This property specifies which format is used to define chemical structure.
|
addComment, getComment, getDatasources, getKeywords, getOrganisms, getParentPathways, removeComment, setComment
equals, getAnnotations, getPk, getRDFId, hashCode, isEquivalent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addComment, getComment, removeComment
getAnnotations, getRDFId, isEquivalent
public ChemicalStructureImpl()
public Class<? extends ChemicalStructure> getModelInterface()
BioPAXElement
getModelInterface
in interface BioPAXElement
org.biopax.paxtools.model
package
corresponding to a BioPAX class.protected boolean semanticallyEquivalent(BioPAXElement element)
semanticallyEquivalent
in class BioPAXElementImpl
public int equivalenceCode()
BioPAXElement
equivalenceCode
in interface BioPAXElement
equivalenceCode
in class BioPAXElementImpl
@Field(name="keyword", analyze=YES) public String getStructureData()
ChemicalStructure
getStructureData
in interface ChemicalStructure
public void setStructureData(String structureData)
ChemicalStructure
setStructureData
in interface ChemicalStructure
structureData
- a string defining chemical structure@Field(name="keyword", analyze=YES) public StructureFormatType getStructureFormat()
ChemicalStructure
getStructureFormat
in interface ChemicalStructure
public void setStructureFormat(StructureFormatType structureFormat)
ChemicalStructure
setStructureFormat
in interface ChemicalStructure
structureFormat
- format used to define chemical structureCopyright © 2015 BioPAX. All rights reserved.