Class ArrayFieldAccessor

  • All Implemented Interfaces:
    org.bson.codecs.pojo.PropertyAccessor<Object>

    public class ArrayFieldAccessor
    extends FieldAccessor
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Constructor Detail

      • ArrayFieldAccessor

        public ArrayFieldAccessor​(TypeData<?> typeData,
                                  Field field)
        Creates the accessor
        Parameters:
        typeData - the type data
        field - the field
    • Method Detail

      • set

        public void set​(Object instance,
                        Object value)
        Specified by:
        set in interface org.bson.codecs.pojo.PropertyAccessor<Object>
        Overrides:
        set in class FieldAccessor