Package com.aerospike.mapper.tools
Class PropertyDefinition
java.lang.Object
com.aerospike.mapper.tools.PropertyDefinition
public class PropertyDefinition extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyDefinition.SetterParamType -
Constructor Summary
Constructors Constructor Description PropertyDefinition(String name, IBaseAeroMapper mapper) -
Method Summary
Modifier and Type Method Description Annotation[]getAnnotations()TypegetGenericType()MethodgetGetter()MethodgetSetter()PropertyDefinition.SetterParamTypegetSetterParamType()Class<?>getType()Get the type of this property.TypeMappergetTypeMapper()voidsetGetter(Method getter)voidsetSetter(Method setter)voidvalidate(String className, ClassConfig config, boolean allowNoSetter)Validate that this is a valid property
-
Constructor Details
-
PropertyDefinition
-
-
Method Details
-
getGetter
-
setGetter
-
getSetter
-
setSetter
-
getSetterParamType
-
getType
Get the type of this property. The getter and setter must agree on the property and this method is only valid after thevalidatemethod has been called. -
getTypeMapper
-
getAnnotations
-
getGenericType
-
validate
Validate that this is a valid property
-