Class PartOfHandler<T>


  • public abstract class PartOfHandler<T>
    extends java.lang.Object
    Generic partOf handler to wrap arbitrary value setters into some code which automatically removes all items which has been previous value(s) but are not part of the new value.
    • Constructor Detail

      • PartOfHandler

        public PartOfHandler()
    • Method Detail

      • extractItems

        protected java.util.Set<Item> extractItems​(java.lang.Object value)
      • extractItems

        protected void extractItems​(java.util.Set<Item> ret,
                                    java.lang.Object value)
      • doSetValue

        protected abstract void doSetValue​(SessionContext ctx,
                                           T value)