|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MCollectionProp
chemaxon.struc.prop.MListProp
public class MListProp
Property list property.
| Field Summary |
|---|
| Fields inherited from class chemaxon.struc.MProp |
|---|
CONV_SELFREF, COORDDEP |
| Constructor Summary | |
|---|---|
|
MListProp()
Constructs a property object from a list. |
protected |
MListProp(MListProp other,
java.util.Set xprops)
Copy constructor. |
| Method Summary | |
|---|---|
void |
add(MProp p)
Adds an element. |
MCollectionProp |
cloneCollectionProp(java.util.Set xprops)
Clones the object. |
java.lang.String |
convertToString(java.lang.String fmt,
int flags)
Converts the property to text format. |
MProp |
get(int i)
Gets the specified element. |
java.util.List |
getList()
Gets the array. |
int |
getPropArraySize()
Gets the array size. |
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
void |
remove(int i)
Removes an element. |
void |
replace(MProp oldp,
MProp newp)
Replaces or removes a property. |
void |
set(int i,
MProp p)
Sets an element. |
int |
size()
Gets the array size. |
java.util.Iterator |
unorderedIterator()
Gets an iterator for the entries. |
| Methods inherited from class chemaxon.struc.prop.MCollectionProp |
|---|
clone, cloneProp, contains, getPropXSDType |
| Methods inherited from class chemaxon.struc.MProp |
|---|
convertToString, getGrinvCC, isCoordDependent, setCoordDependent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MListProp()
protected MListProp(MListProp other,
java.util.Set xprops)
other - the other objectxprops - property objects in this set are not cloned| Method Detail |
|---|
public int getPropArraySize()
getPropArraySize in class MProp
public java.lang.String convertToString(java.lang.String fmt,
int flags)
throws MolExportException
convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flags
MolExportExceptionMProp.CONV_SELFREFpublic java.lang.Object getPropValue()
getPropValue in class MProppublic final java.util.List getList()
public final int size()
public final MProp get(int i)
i - the index
public final void set(int i,
MProp p)
i - the indexp - the valuepublic final void remove(int i)
i - the indexpublic final void add(MProp p)
p - the valuepublic java.util.Iterator unorderedIterator()
unorderedIterator in class MCollectionProp
public void replace(MProp oldp,
MProp newp)
replace in class MCollectionPropoldp - the old objectnewp - the new object or null to removepublic java.lang.String getPropType()
getPropType in class MProppublic MCollectionProp cloneCollectionProp(java.util.Set xprops)
cloneCollectionProp in class MCollectionPropxprops - property objects in this set are not cloned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||