Class ManagedList<E>

    • Method Detail

      • setSource

        public void setSource​(@Nullable
                              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 list.
      • 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 List<Emerge​(@Nullable
                             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