@PublicAPI public class MetalloceneCheckerResult extends DefaultStructureCheckerResult
Constructor and Description |
---|
MetalloceneCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
StructureCheckerErrorType errorType,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon,
java.util.List<java.util.List<MolAtom>> fiveLongRings,
java.util.List<MolAtom> metalAtoms)
|
MetalloceneCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
StructureCheckerErrorType errorType,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon,
java.util.List<java.util.List<MolAtom>> fiveLongRings,
java.util.List<MolAtom> metalAtoms,
int errorCount)
Constructor which initialize all the properties.
|
Modifier and Type | Method and Description |
---|---|
void |
convert(Molecule molecule,
java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
This method converts the entities contained in this result according to the convertData.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.util.List<MolAtom>> |
getFiveLongRings()
|
java.util.List<MolAtom> |
getMetalAtoms()
This method returns the metallocene relevant metal atoms represented
by a
List of MolAtom . |
int |
hashCode() |
void |
setFiveLongRings(java.util.List<java.util.List<MolAtom>> fiveLongRings)
This method sets the fiveLongRings property.
|
void |
setMetalAtoms(java.util.List<MolAtom> metalAtoms)
This method sets the metalAtoms property
|
getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
@Deprecated public MetalloceneCheckerResult(StructureChecker source, java.util.List<MolAtom> atoms, java.util.List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, java.lang.String description, java.lang.String name, java.lang.String localMenuName, java.lang.String helpText, javax.swing.Icon icon, java.util.List<java.util.List<MolAtom>> fiveLongRings, java.util.List<MolAtom> metalAtoms)
MetalloceneCheckerResult(StructureChecker, List, List, StructureCheckerErrorType, Molecule, String, String, String, String, Icon, List, List, int)
insteadsource
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemerrorType
- a StructureCheckerErrorType
instance represents the type of the errormolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemname
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin Sketch checker dialogsfiveLongRings
- a List
of List
of MolAtom
represents all
the five long rings in the moleculemetalAtoms
- a List
of MolAtom
represents all the metallocene
relevant metal atoms in the moleculepublic MetalloceneCheckerResult(StructureChecker source, java.util.List<MolAtom> atoms, java.util.List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, java.lang.String description, java.lang.String name, java.lang.String localMenuName, java.lang.String helpText, javax.swing.Icon icon, java.util.List<java.util.List<MolAtom>> fiveLongRings, java.util.List<MolAtom> metalAtoms, int errorCount)
source
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemerrorType
- a StructureCheckerErrorType
instance represents the type of the errormolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemname
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin Sketch checker dialogsfiveLongRings
- a List
of List
of MolAtom
represents all
the five long rings in the moleculemetalAtoms
- a List
of MolAtom
represents all the metallocene
relevant metal atoms in the moleculeerrorCount
- count of identified errorspublic java.util.List<java.util.List<MolAtom>> getFiveLongRings()
List
of List
of MolAtom
public void setFiveLongRings(java.util.List<java.util.List<MolAtom>> fiveLongRings)
fiveLongRings
- is a List
of List
of MolAtom
represents
the five long rings in the Moleculepublic java.util.List<MolAtom> getMetalAtoms()
List
of MolAtom
.List
of MolAtom
.public void setMetalAtoms(java.util.List<MolAtom> metalAtoms)
metalAtoms
- is a List
of MolAtom
represents the
metallocene relevant metal atoms in the moleculepublic void convert(Molecule molecule, java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
StructureCheckerResult
convert
in interface StructureCheckerResult
convert
in class DefaultStructureCheckerResult
molecule
- the original molecule objectconvertData
- is a map with String
keys and Map values which contains
the convert related informationpublic int hashCode()
hashCode
in class DefaultStructureCheckerResult
public boolean equals(java.lang.Object obj)
equals
in class DefaultStructureCheckerResult