Class PropertyMutator
- java.lang.Object
-
- com.oracle.coherence.io.json.genson.reflect.BeanProperty
-
- com.oracle.coherence.io.json.genson.reflect.PropertyMutator
-
- All Implemented Interfaces:
Comparable<PropertyMutator>
- Direct Known Subclasses:
BeanCreator.BeanCreatorProperty,PropertyMutator.FieldMutator,PropertyMutator.MethodMutator
public abstract class PropertyMutator extends BeanProperty implements Comparable<PropertyMutator>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyMutator.FieldMutatorstatic classPropertyMutator.MethodMutator
-
Field Summary
-
Fields inherited from class com.oracle.coherence.io.json.genson.reflect.BeanProperty
annotations, concreteClass, declaringClass, modifiers, name, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropertyMutator(String name, Type type, Class<?> declaringClass, Class<?> concreteClass, Annotation[] annotations, int modifiers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(PropertyMutator o)protected JsonBindingExceptioncouldNotDeserialize(Throwable e)protected JsonBindingExceptioncouldNotMutate(Exception e)Objectdeserialize(ObjectReader reader, Context ctx)voiddeserialize(Object into, ObjectReader reader, Context ctx)abstract voidmutate(Object target, Object value)-
Methods inherited from class com.oracle.coherence.io.json.genson.reflect.BeanProperty
aliases, getAnnotation, getConcreteClass, getDeclaringClass, getModifiers, getName, getRawClass, getType
-
-
-
-
Constructor Detail
-
PropertyMutator
protected PropertyMutator(String name, Type type, Class<?> declaringClass, Class<?> concreteClass, Annotation[] annotations, int modifiers)
-
-
Method Detail
-
deserialize
public Object deserialize(ObjectReader reader, Context ctx)
-
deserialize
public void deserialize(Object into, ObjectReader reader, Context ctx)
-
compareTo
public int compareTo(PropertyMutator o)
- Specified by:
compareToin interfaceComparable<PropertyMutator>
-
couldNotMutate
protected JsonBindingException couldNotMutate(Exception e)
-
couldNotDeserialize
protected JsonBindingException couldNotDeserialize(Throwable e)
-
-