public abstract class MProp extends Object implements Cloneable, Serializable
Modifier and Type | Field and Description |
---|---|
static int |
COORDDEP
Coordinate dependent property.
|
Constructor and Description |
---|
MProp() |
Modifier and Type | Method and Description |
---|---|
abstract MProp |
cloneProp()
Clones the object.
|
String |
convertToString(String fmt)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) |
abstract String |
convertToString(String fmt,
int flags)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) . |
protected long |
getGrinvCC()
Gets the graph invariant change count at the moment of creation.
|
int |
getPropArraySize()
Gets the array size.
|
abstract String |
getPropType()
Gets the type name of the property.
|
abstract Object |
getPropValue()
Gets the property value as an object.
|
abstract String |
getPropXSDType()
Gets the XSD type name of the property.
|
boolean |
isCoordDependent()
Tests whether the property depends on the molecular coordinates.
|
protected void |
setCoordDependent(long gcc)
Sets the property as coordinate dependent.
|
String |
toString()
Overrides Object.toString() to ease debugging.
|
public int getPropArraySize()
@Deprecated public abstract String convertToString(String fmt, int flags)
MPropHandler.convertToString(MProp, String)
.fmt
- the molecule file format or null
flags
- optional conversion flags@Deprecated public final String convertToString(String fmt)
MPropHandler.convertToString(MProp, String)
fmt
- the molecule file format or null
MolExportException
public abstract Object getPropValue()
public abstract String getPropType()
public abstract String getPropXSDType()
public abstract MProp cloneProp()
public final boolean isCoordDependent()
true
if the property depends on the molecular
coordinates, false
otherwiseprotected final long getGrinvCC()
protected final void setCoordDependent(long gcc)
gcc
- the graph invariant change countpublic String toString()
@
', and the unsigned
hexadecimal representation of the hash code of the object.