private static final class ConventionSetPrivateFieldImpl.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.
|
<S> void |
set(S instance,
T value)
Sets a value on the given PropertyModel
|
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 property