chemaxon.struc
Class MDocument.Prop

java.lang.Object
  extended by chemaxon.struc.MProp
      extended by chemaxon.struc.MDocument.Prop
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
MDocument

public class MDocument.Prop
extends MProp

Property that stores an MDocument.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class chemaxon.struc.MProp
COORDDEP
 
Constructor Summary
MDocument.Prop()
           
 
Method Summary
 MProp cloneProp()
          Creates a clone.
 String convertToString(String fmt, int flags)
          Deprecated. As of release 5.7, replaced by MolExporter.convertToString(MDocument, String, int)
 int getPropArraySize()
          Gets the array size.
 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.
 
Methods inherited from class chemaxon.struc.MProp
convertToString, getGrinvCC, isCoordDependent, setCoordDependent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDocument.Prop

public MDocument.Prop()
Method Detail

getPropArraySize

public int getPropArraySize()
Gets the array size.

Overrides:
getPropArraySize in class MProp
Returns:
-1 (this is not an array type attribute)
Since:
Marvin 4.1, 11/20/2005

convertToString

@Deprecated
public String convertToString(String fmt,
                                         int flags)
                       throws IllegalArgumentException
Deprecated. As of release 5.7, replaced by MolExporter.convertToString(MDocument, String, int)

Converts the molecule to text format.

Specified by:
convertToString in class MProp
Parameters:
fmt - the molecule file format or null
flags - optional conversion flags
Returns:
the string
Throws:
IllegalArgumentException
Since:
Marvin 5.0, 11/05/2007

getPropValue

public Object getPropValue()
Gets the property value as an object.

Specified by:
getPropValue in class MProp
Returns:
this MDocument

getPropType

public String getPropType()
Gets the type name of the property.

Specified by:
getPropType in class MProp
Returns:
the name
Since:
Marvin 4.1, 11/20/2005

getPropXSDType

public String getPropXSDType()
Gets the XSD type name of the property.

Specified by:
getPropXSDType in class MProp
Returns:
"ENTITY"
Since:
Marvin 4.1, 11/20/2005

cloneProp

public final MProp cloneProp()
Creates a clone.

Specified by:
cloneProp in class MProp
Returns:
the clone
Since:
Marvin 4.1, 11/20/2005