Class ListConverter<E>

  • Type Parameters:
    E - the type of elements in this list
    All Implemented Interfaces:
    Converter<List<E>>

    public class ListConverter<E>
    extends Object
    implements Converter<List<E>>
    A Converter for List. This converter creates a clone of the original List, and convert is called for values.
    • Constructor Detail

      • ListConverter

        public ListConverter()
    • Method Detail

      • convert

        public List<E> convert​(List<E> list,
                               Feature targetOwner)
                        throws IllegalAccessError
        Description copied from interface: Converter
        Converts an object owned by a Feature to another Feature.
        Specified by:
        convert in interface Converter<E>
        Parameters:
        list - the source object to be converted
        targetOwner - the owner of the converted object
        Returns:
        the converted object, owned by the target owner
        Throws:
        IllegalAccessError