to.etc.util
Interface IPropertyAccessor
- All Known Implementing Classes:
- PropertyInfo
public interface IPropertyAccessor
Generic way to access/represent some kind of property.
- Author:
- Frits Jalvingh
Created on Oct 15, 2010
getName
@Nonnull
java.lang.String getName()
getActualType
@Nonnull
java.lang.Class<?> getActualType()
getActualGenericType
@Nullable
java.lang.reflect.Type getActualGenericType()
getValue
@Nullable
java.lang.Object getValue(@Nullable
java.lang.Object instance)
throws java.lang.Exception
- Throws:
java.lang.Exception
setValue
void setValue(@Nullable
java.lang.Object instance,
@Nullable
java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception