public class MObjectProp extends MProp
| Constructor and Description |
|---|
MObjectProp(Object o)
Constructs a property object.
|
MObjectProp(String sval)
Constructs a property from a string value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones the object.
|
MProp |
cloneProp()
Clones the object.
|
String |
convertToString(String fmt,
int flags)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) |
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
String |
toString()
Create the serialized object base64 string representation.
|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependentpublic MObjectProp(Object o)
o - the objectpublic MObjectProp(String sval) throws IOException
sval - the string valueIOException@Deprecated public String convertToString(String fmt, int flags)
MPropHandler.convertToString(MProp, String)convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flagsIllegalArgumentExceptionpublic Object getPropValue()
getPropValue in class MProppublic String getPropType()
getPropType in class MProppublic String getPropXSDType()
getPropXSDType in class MProppublic MProp cloneProp()
public String toString()
toString in class MPropIllegalArgumentException - if serialization or base64 encoding fails.