Package com.aerospike.mapper.tools
Class ValueType
java.lang.Object
com.aerospike.mapper.tools.ValueType
- Direct Known Subclasses:
ValueType.FieldValue,ValueType.MethodValue
public abstract class ValueType extends Object
Implementation of a value, which can be either a method on a class (getter) or a field
- Author:
- timfaulkes
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueType.FieldValuestatic classValueType.MethodValue -
Constructor Summary
Constructors Constructor Description ValueType(@NotNull TypeMapper mapper, TypeUtils.AnnotatedType annotatedType) -
Method Summary
Modifier and Type Method Description abstract Objectget(Object obj)TypeUtils.AnnotatedTypegetAnnotatedType()abstract Annotation[]getAnnotations()intgetMaximumVersion()intgetMinimumVersion()abstract Class<?>getType()TypeMappergetTypeMapper()abstract voidset(Object obj, Object value)
-
Constructor Details
-
ValueType
-
-
Method Details
-
get
- Throws:
ReflectiveOperationException
-
set
- Throws:
ReflectiveOperationException
-
getType
-
getAnnotations
-
getMinimumVersion
public int getMinimumVersion() -
getMaximumVersion
public int getMaximumVersion() -
getTypeMapper
-
getAnnotatedType
-