@PublicAPI public abstract class MProp extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
COORDDEP
Coordinate dependent property.
|
static java.lang.String |
TYPE_3D_COORDS |
static java.lang.String |
TYPE_ARRAY_BYTE |
static java.lang.String |
TYPE_ARRAY_DOUBLE |
static java.lang.String |
TYPE_ARRAY_INTEGER |
static java.lang.String |
TYPE_BOOLEAN |
static java.lang.String |
TYPE_COLLECTION_HASH |
static java.lang.String |
TYPE_COLLECTION_LIST |
static java.lang.String |
TYPE_CONFORMER_DESCRIPTOR |
static java.lang.String |
TYPE_DOUBLE |
static java.lang.String |
TYPE_FONT |
static java.lang.String |
TYPE_INTEGER |
static java.lang.String |
TYPE_MDOCUMENT_PROP |
static java.lang.String |
TYPE_MOLECULE |
static java.lang.String |
TYPE_OBJECT |
static java.lang.String |
TYPE_STRING |
static java.lang.String |
TYPE_VOLUMETRIC_DATA |
Constructor and Description |
---|
MProp() |
Modifier and Type | Method and Description |
---|---|
abstract MProp |
cloneProp()
Clones the object.
|
java.lang.String |
convertToString(java.lang.String fmt)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) |
abstract java.lang.String |
convertToString(java.lang.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 java.lang.String |
getPropType()
Gets the type name of the property.
|
abstract java.lang.Object |
getPropValue()
Gets the property value as an object.
|
abstract java.lang.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.
|
java.lang.String |
toString()
Overrides Object.toString() to ease debugging.
|
public static final java.lang.String TYPE_CONFORMER_DESCRIPTOR
public static final java.lang.String TYPE_VOLUMETRIC_DATA
public static final java.lang.String TYPE_COLLECTION_HASH
public static final java.lang.String TYPE_COLLECTION_LIST
public static final java.lang.String TYPE_ARRAY_BYTE
public static final java.lang.String TYPE_ARRAY_DOUBLE
public static final java.lang.String TYPE_ARRAY_INTEGER
public static final java.lang.String TYPE_BOOLEAN
public static final java.lang.String TYPE_DOUBLE
public static final java.lang.String TYPE_INTEGER
public static final java.lang.String TYPE_STRING
public static final java.lang.String TYPE_FONT
public static final java.lang.String TYPE_OBJECT
public static final java.lang.String TYPE_MOLECULE
public static final java.lang.String TYPE_MDOCUMENT_PROP
public static final java.lang.String TYPE_3D_COORDS
public static final int COORDDEP
public int getPropArraySize()
@Deprecated public abstract java.lang.String convertToString(java.lang.String fmt, int flags)
MPropHandler.convertToString(MProp, String)
.fmt
- the molecule file format or null
flags
- optional conversion flags@Deprecated public final java.lang.String convertToString(java.lang.String fmt)
MPropHandler.convertToString(MProp, String)
fmt
- the molecule file format or null
MolExportException
public abstract java.lang.Object getPropValue()
public abstract java.lang.String getPropType()
public abstract java.lang.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 java.lang.String toString()
@
', and the unsigned
hexadecimal representation of the hash code of the object.toString
in class java.lang.Object