Package chemaxon.struc.prop
Class MCollectionProp
- java.lang.Object
-
- chemaxon.struc.MProp
-
- chemaxon.struc.prop.MCollectionProp
-
- All Implemented Interfaces:
Serializable
,Cloneable
@PublicAPI public abstract class MCollectionProp extends MProp
Collection of properties.- Since:
- Marvin 4.1.6, 02/15/2007
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class chemaxon.struc.MProp
COORDDEP, TYPE_3D_COORDS, TYPE_ARRAY_BYTE, TYPE_ARRAY_DOUBLE, TYPE_ARRAY_INTEGER, TYPE_BOOLEAN, TYPE_COLLECTION_HASH, TYPE_COLLECTION_LIST, TYPE_CONFORMER_DESCRIPTOR, TYPE_DOUBLE, TYPE_FONT, TYPE_INTEGER, TYPE_MDOCUMENT_PROP, TYPE_MOLECULE, TYPE_OBJECT, TYPE_STRING, TYPE_VOLUMETRIC_DATA
-
-
Constructor Summary
Constructors Constructor Description MCollectionProp()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
clone()
Clones the object.abstract MCollectionProp
cloneCollectionProp(Set xprops)
Clones the object.MProp
cloneProp()
Clones the object.boolean
contains(MProp p)
Tests whether the collection contains the specified property.boolean
equals(Object o)
String
getPropXSDType()
Gets the XSD type name of the property.int
hashCode()
abstract void
replace(MProp oldp, MProp newp)
Replaces or removes a property.abstract Iterator
unorderedIterator()
Gets an unordered iterator for the entries.-
Methods inherited from class chemaxon.struc.MProp
convertToString, convertToString, getGrinvCC, getPropArraySize, getPropType, getPropValue, isCoordDependent, setCoordDependent, toString
-
-
-
-
Method Detail
-
unorderedIterator
public abstract Iterator unorderedIterator()
Gets an unordered iterator for the entries.- Returns:
- the iterator
-
contains
public final boolean contains(MProp p)
Tests whether the collection contains the specified property.- Parameters:
p
- the property- Returns:
true
if the collection contains it,false
otherwise
-
replace
public abstract void replace(MProp oldp, MProp newp)
Replaces or removes a property.- Parameters:
oldp
- the old objectnewp
- the new object ornull
to remove
-
getPropXSDType
public String getPropXSDType()
Gets the XSD type name of the property.- Specified by:
getPropXSDType
in classMProp
- Returns:
- "ENTITY"
-
cloneCollectionProp
public abstract MCollectionProp cloneCollectionProp(Set xprops)
Clones the object.- Parameters:
xprops
- property objects in this set are not cloned- Returns:
- the clone
-
cloneProp
public final MProp cloneProp()
Clones the object.
-
clone
public final Object clone()
Clones the object.
-
-