Class PropertyDefinition

java.lang.Object
com.aerospike.mapper.tools.PropertyDefinition

public class PropertyDefinition
extends Object
  • Constructor Details

  • Method Details

    • getGetter

      public Method getGetter()
    • setGetter

      public void setGetter​(Method getter)
    • getSetter

      public Method getSetter()
    • setSetter

      public void setSetter​(Method setter)
    • getSetterParamType

      public PropertyDefinition.SetterParamType getSetterParamType()
    • getType

      public Class<?> getType()
      Get the type of this property. The getter and setter must agree on the property and this method is only valid after the validate method has been called.
    • getTypeMapper

      public TypeMapper getTypeMapper()
    • getAnnotations

      public Annotation[] getAnnotations()
    • getGenericType

      public Type getGenericType()
    • validate

      public void validate​(String className, ClassConfig config, boolean allowNoSetter)
      Validate that this is a valid property