Class RdfileRecord
java.lang.Object
org.openscience.cdk.io.RdfileRecord
The RdfileRecord class represents a single record of an RD file.
Publicly accessible are
Publicly accessible are
- Author:
- Uli Fechner
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the AtomContainer from the RdfileRecord.Retrieves the external registry number of the RdfileRecord.Retrieves the internal registry number of the RdfileRecord.Retrieves the reaction object from the RdfileRecord.booleanChecks if the RdfileRecord represents a molfile.booleanChecks if the RdfileRecord represents a reaction file.
-
Method Details
-
getInternalRegistryNumber
Retrieves the internal registry number of the RdfileRecord.- Returns:
- The internal registry number of the RdfileRecord.
-
getExternalRegistryNumber
Retrieves the external registry number of the RdfileRecord.- Returns:
- The external registry number of the RdfileRecord.
-
isRxnFile
public boolean isRxnFile()Checks if the RdfileRecord represents a reaction file.- Returns:
- true if the RdfileRecord represents a reaction file, false otherwise
-
isMolfile
public boolean isMolfile()Checks if the RdfileRecord represents a molfile.- Returns:
- true if the RdfileRecord represents a molfile, false otherwise
-
getAtomContainer
Retrieves the AtomContainer from the RdfileRecord.- Returns:
- the AtomContainer object if the record represents a molecule,
nullotherwise
-
getReaction
Retrieves the reaction object from the RdfileRecord.- Returns:
- the reaction object if the RdfileRecord represents a reaction,
nullotherwise
-