|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.struc.MProp
public abstract class MProp
Property base class.
Field Summary | |
---|---|
static int |
CONV_SELFREF
Conversion of self referring property. |
static int |
COORDDEP
Coordinate dependent property. |
Constructor Summary | |
---|---|
MProp()
|
Method Summary | |
---|---|
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) .
Instead CONV_SELFREF flag use fmt + ":-selfrefprops" string in fmt. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COORDDEP
MPropertyContainer.set(String, MProp, int)
,
Constant Field Valuespublic static final int CONV_SELFREF
convertToString(java.lang.String, int)
,
Constant Field ValuesConstructor Detail |
---|
public MProp()
Method Detail |
---|
public int getPropArraySize()
public abstract java.lang.String convertToString(java.lang.String fmt, int flags) throws MolExportException
MPropHandler.convertToString(MProp, String)
.
Instead CONV_SELFREF
flag use fmt + ":-selfrefprops" string in fmt.
fmt
- the molecule file format or null
flags
- optional conversion flags
MolExportException
CONV_SELFREF
public final java.lang.String convertToString(java.lang.String fmt) throws MolExportException
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |