Class MDocument.Prop

java.lang.Object
chemaxon.struc.MProp
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:
  • Constructor Details

    • Prop

      public Prop()
  • Method Details

    • 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.
      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