Package chemaxon.struc.prop
Class MCollectionProp
java.lang.Object
chemaxon.struc.MProp
chemaxon.struc.prop.MCollectionProp
- All Implemented Interfaces:
Serializable
,Cloneable
Collection of properties.
- Since:
- Marvin 4.1.6, 02/15/2007
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionfinal Object
clone()
Clones the object.abstract MCollectionProp
cloneCollectionProp
(Set xprops) Clones the object.final MProp
Clones the object.final boolean
Tests whether the collection contains the specified property.boolean
Gets the XSD type name of the property.int
hashCode()
abstract void
Replaces or removes a property.abstract Iterator
Gets an unordered iterator for the entries.Methods inherited from class chemaxon.struc.MProp
convertToString, convertToString, getGrinvCC, getPropArraySize, getPropType, getPropValue, isCoordDependent, setCoordDependent, toString
-
Constructor Details
-
MCollectionProp
public MCollectionProp()
-
-
Method Details
-
unorderedIterator
Gets an unordered iterator for the entries.- Returns:
- the iterator
-
contains
Tests whether the collection contains the specified property.- Parameters:
p
- the property- Returns:
true
if the collection contains it,false
otherwise
-
replace
Replaces or removes a property.- Parameters:
oldp
- the old objectnewp
- the new object ornull
to remove
-
getPropXSDType
Gets the XSD type name of the property.- Specified by:
getPropXSDType
in classMProp
- Returns:
- "ENTITY"
-
cloneCollectionProp
Clones the object.- Parameters:
xprops
- property objects in this set are not cloned- Returns:
- the clone
-
cloneProp
Clones the object. -
clone
Clones the object. -
equals
-
hashCode
public int hashCode()
-