Interface AutoBeanVisitor.PropertyContext
- All Known Subinterfaces:
AutoBeanVisitor.CollectionPropertyContext,AutoBeanVisitor.MapPropertyContext
- Enclosing class:
- AutoBeanVisitor
public static interface AutoBeanVisitor.PropertyContext
Allows properties to be reset.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAllows deeper inspection of the declared parameterization of the property.booleancanSet()Indicates if theset(java.lang.Object)method will succeed.Class<?>getType()Returns the expected type of the property.voidSets a property value.
-
Method Details
-
canSet
boolean canSet()Indicates if theset(java.lang.Object)method will succeed.- Returns:
trueif the property can be set
-
getType
Class<?> getType()Returns the expected type of the property.- Returns:
- a Class object representing the property type
-
set
Sets a property value.- Parameters:
value- the new value