Class ManagedSet<E>

    • Constructor Detail

      • ManagedSet

        public ManagedSet​(int initialCapacity)
    • Method Detail

      • setSource

        public void setSource​(Object source)
        Set the configuration source Object for this metadata element.

        The exact type of the object will depend on the configuration mechanism used.

      • setElementTypeName

        public void setElementTypeName​(String elementTypeName)
        Set the default element type name (class name) to be used for this set.
      • getElementTypeName

        public String getElementTypeName()
        Return the default element type name (class name) to be used for this set.
      • setMergeEnabled

        public void setMergeEnabled​(boolean mergeEnabled)
        Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
      • merge

        public Set<Emerge​(Object parent)
        Description copied from interface: Mergeable
        Merge the current value set with that of the supplied object.

        The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.

        Specified by:
        merge in interface Mergeable
        Parameters:
        parent - the object to merge with
        Returns:
        the result of the merge operation