- Type Parameters:
T- the targeted typeP- the property type
- All Known Implementing Classes:
BoxedBooleanGetter,BoxedByteGetter,BoxedCharacterGetter,BoxedDoubleGetter,BoxedFloatGetter,BoxedIntGetter,BoxedLongGetter,BoxedShortGetter,BytesUUIDGetter,ConstantBooleanGetter,ConstantByteGetter,ConstantCharacterGetter,ConstantDoubleGetter,ConstantFloatGetter,ConstantGetter,ConstantIntGetter,ConstantLongGetter,ConstantShortGetter,EnumUnspecifiedTypeGetter,FieldGetter,GetterOnGetter,GetterWithDefaultValue,IdentityGetter,IndexedBooleanArrayGetter,IndexedByteArrayGetter,IndexedCharArrayGetter,IndexedDoubleArrayGetter,IndexedFloatArrayGetter,IndexedIntArrayGetter,IndexedListGetter,IndexedLongArrayGetter,IndexedObjectArrayGetter,IndexedShortArrayGetter,InstantiatorGetter,MethodGetter,NullGetter,OrdinalEnumGetter,StringEnumGetter,StringUUIDGetter,UUIDUnspecifiedTypeGetter
public interface Getter<T,P>
Interface representing a Getter of a property of type P on a object of type T.
use ObjectGetterFactory to instantiate.
- See Also:
-
Method Summary
-
Method Details
-
get
Return the property from the specified object.- Parameters:
target- the object to get the property from- Returns:
- the property
- Throws:
Exception- if anything goes wrong
-