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 TypeMethodDescriptionvoid
Allows deeper inspection of the declared parameterization of the property.boolean
canSet()
Indicates if theset(java.lang.Object)
method will succeed.Class
<?> getType()
Returns the expected type of the property.void
Sets a property value.
-
Method Details
-
canSet
boolean canSet()Indicates if theset(java.lang.Object)
method will succeed.- Returns:
true
if 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