Class MCollectionProp

    • Constructor Detail

      • MCollectionProp

        public MCollectionProp()
    • 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 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object