|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MMoleculeProp
public class MMoleculeProp
Molecule property.
Field Summary |
---|
Fields inherited from class chemaxon.struc.MProp |
---|
CONV_SELFREF, COORDDEP |
Constructor Summary | |
---|---|
MMoleculeProp(Molecule m)
Constructs a property object from a molecule. |
|
MMoleculeProp(java.lang.String sval)
Deprecated. Use MPropHandler.createMMoleculeProp(String) |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the object. |
MProp |
cloneProp()
Clones the object. |
java.lang.String |
convertToString(java.lang.String fmt,
int flags)
Deprecated. As of Marvin 5.7, replaced by MPropHandler.convertToString(MProp, String)
Instead MProp.CONV_SELFREF flag use fmt + ":-selfrefprops" string in fmt. |
boolean |
equals(java.lang.Object o)
|
Molecule |
getMolecule()
Gets the molecule. |
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
java.lang.String |
getPropXSDType()
Gets the XSD type name of the property. |
java.lang.String |
toString()
String representation of this object: number of atoms, number of bonds. |
Methods inherited from class chemaxon.struc.MProp |
---|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MMoleculeProp(Molecule m)
m
- the moleculepublic MMoleculeProp(java.lang.String sval) throws java.io.IOException
MPropHandler.createMMoleculeProp(String)
sval
- the string value
java.io.IOException
Method Detail |
---|
public java.lang.String convertToString(java.lang.String fmt, int flags) throws MolExportException
MPropHandler.convertToString(MProp, String)
Instead MProp.CONV_SELFREF
flag use fmt + ":-selfrefprops" string in fmt.
convertToString
in class MProp
fmt
- the molecule file format or null
flags
- optional conversion flags
MolExportException
MProp.CONV_SELFREF
public java.lang.Object getPropValue()
getPropValue
in class MProp
public Molecule getMolecule()
public java.lang.String getPropType()
getPropType
in class MProp
public java.lang.String getPropXSDType()
getPropXSDType
in class MProp
public MProp cloneProp()
cloneProp
in class MProp
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class MProp
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |