public class MMoleculeProp extends MProp
Constructor and Description |
---|
MMoleculeProp(Molecule m)
Constructs a property object from a molecule.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the object.
|
MProp |
cloneProp()
Clones the object.
|
String |
convertToString(String fmt,
int flags)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) . |
boolean |
equals(Object o) |
Molecule |
getMolecule()
Gets the molecule.
|
String |
getPropType()
Gets the type name of the property.
|
Object |
getPropValue()
Gets the property value as an object.
|
String |
getPropXSDType()
Gets the XSD type name of the property.
|
int |
hashCode() |
String |
toString()
String representation of this object: number of atoms,
number of bonds.
|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent
public MMoleculeProp(Molecule m)
m
- the molecule@Deprecated public String convertToString(String fmt, int flags)
convertToString
in class MProp
fmt
- the molecule file format or null
flags
- optional conversion flagspublic Object getPropValue()
getPropValue
in class MProp
public Molecule getMolecule()
public String getPropType()
getPropType
in class MProp
public String getPropXSDType()
getPropXSDType
in class MProp
public MProp cloneProp()