Package org.apache.johnzon.mapper.access
Class MethodAccessMode.MethodGetterAsWriter
- java.lang.Object
-
- org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
-
- org.apache.johnzon.mapper.access.MethodAccessMode.MethodReader
-
- org.apache.johnzon.mapper.access.MethodAccessMode.MethodGetterAsWriter
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Reader
,AccessMode.Writer
- Enclosing class:
- MethodAccessMode
private class MethodAccessMode.MethodGetterAsWriter extends MethodAccessMode.MethodReader implements AccessMode.Writer
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
method, type
-
-
Constructor Summary
Constructors Constructor Description MethodGetterAsWriter(Method readMethod, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectConverter.Reader<?>
findObjectConverterReader()
void
write(Object instance, Object value)
-
Methods inherited from class org.apache.johnzon.mapper.access.MethodAccessMode.MethodReader
findObjectConverterWriter, read
-
Methods inherited from class org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getMethod, getType, isNillable, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.johnzon.mapper.access.AccessMode.DecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getType, isNillable
-
-
-
-
Method Detail
-
write
public void write(Object instance, Object value)
- Specified by:
write
in interfaceAccessMode.Writer
-
findObjectConverterReader
public ObjectConverter.Reader<?> findObjectConverterReader()
- Specified by:
findObjectConverterReader
in interfaceAccessMode.Writer
-
-