Class MCollectionProp

java.lang.Object
chemaxon.struc.MProp
chemaxon.struc.prop.MCollectionProp
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
MHashProp, MListProp

@PublicApi public abstract class MCollectionProp extends MProp
Collection of properties.
Since:
Marvin 4.1.6, 02/15/2007
See Also:
  • Constructor Details

    • MCollectionProp

      public MCollectionProp()
  • Method Details

    • 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 object
      newp - the new object or null to remove
    • getPropXSDType

      public String getPropXSDType()
      Gets the XSD type name of the property.
      Specified by:
      getPropXSDType in class MProp
      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.
      Specified by:
      cloneProp in class MProp
      Returns:
      the clone
    • clone

      public final Object clone()
      Clones the object.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object