private static final class ConventionUseGettersAsSettersImpl.PrivateProperyAccessor<T> extends java.lang.Object implements PropertyAccessor<T>
| Modifier and Type | Field and Description |
|---|---|
private PropertyAccessorImpl<T> |
wrapped |
| Modifier | Constructor and Description |
|---|---|
private |
PrivateProperyAccessor(PropertyAccessorImpl<T> wrapped) |
| Modifier and Type | Method and Description |
|---|---|
<S> T |
get(S instance)
Gets the value for a given PropertyModel instance.
|
private <S> void |
mutateCollection(S instance,
java.util.Collection value) |
private <S> void |
mutateMap(S instance,
java.util.Map value) |
<S> void |
set(S instance,
T value)
Sets a value on the given PropertyModel
|
private void |
throwCodecConfigurationException(java.lang.String reason,
java.lang.Exception cause) |
private final PropertyAccessorImpl<T> wrapped
private PrivateProperyAccessor(PropertyAccessorImpl<T> wrapped)
public <S> T get(S instance)
PropertyAccessorget in interface PropertyAccessor<T>S - the class instance typeinstance - the class instance to get the property value frompublic <S> void set(S instance,
T value)
PropertyAccessorset in interface PropertyAccessor<T>S - the class instance typeinstance - the instance to set the property value tovalue - the new value for the propertyprivate <S> void mutateCollection(S instance,
java.util.Collection value)
private <S> void mutateMap(S instance,
java.util.Map value)
private void throwCodecConfigurationException(java.lang.String reason,
java.lang.Exception cause)