Package dev.morphia.mapping.codec
Class FieldAccessor
- java.lang.Object
-
- dev.morphia.mapping.codec.FieldAccessor
-
- All Implemented Interfaces:
org.bson.codecs.pojo.PropertyAccessor
- Direct Known Subclasses:
ArrayFieldAccessor
public class FieldAccessor extends Object implements org.bson.codecs.pojo.PropertyAccessor
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description FieldAccessor(Field field)
Creates the accessor for a field
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(Object instance)
protected Field
getField()
void
set(Object instance, Object value)
-
-
-
Constructor Detail
-
FieldAccessor
public FieldAccessor(Field field)
Creates the accessor for a field- Parameters:
field
- the field itself
-
-