Package dev.morphia.mapping.codec
Class MethodAccessor
- java.lang.Object
-
- dev.morphia.mapping.codec.MethodAccessor
-
- All Implemented Interfaces:
PropertyAccessor<Object>
@MorphiaInternal public class MethodAccessor extends Object implements PropertyAccessor<Object>
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 MethodAccessor(Method getter, Method setter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> Object
get(S instance)
<S> void
set(S instance, Object value)
-
-
-
Method Detail
-
get
public <S> Object get(S instance)
- Specified by:
get
in interfacePropertyAccessor<Object>
-
set
public <S> void set(S instance, Object value)
- Specified by:
set
in interfacePropertyAccessor<Object>
-
-