public class BeanPropertyDescriptionImpl extends Object implements BeanPropertyDescription
BeanPropertyDescription.| Constructor and Description |
|---|
BeanPropertyDescriptionImpl(@NotNull String name,
@NotNull TypeInformation typeInformation,
@NotNull Method getter,
@NotNull Method setter)
Deprecated.
|
BeanPropertyDescriptionImpl(@NotNull String name,
@NotNull TypeInformation typeInformation,
@NotNull Method getter,
@NotNull Method setter,
@NotNull BeanPropertyComments comments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull BeanPropertyComments |
getComments() |
@NotNull String |
getName() |
@NotNull TypeInformation |
getTypeInformation() |
@Nullable Object |
getValue(@NotNull Object bean)
Returns the value of the property for the given bean.
|
void |
setValue(@NotNull Object bean,
@NotNull Object value)
Sets the given property to the given value on the provided bean.
|
@NotNull String |
toString() |
@Deprecated public BeanPropertyDescriptionImpl(@NotNull @NotNull String name, @NotNull @NotNull TypeInformation typeInformation, @NotNull @NotNull Method getter, @NotNull @NotNull Method setter)
name - name of the property in the exporttypeInformation - type of the propertygetter - getter for the propertysetter - setter for the propertypublic BeanPropertyDescriptionImpl(@NotNull
@NotNull String name,
@NotNull
@NotNull TypeInformation typeInformation,
@NotNull
@NotNull Method getter,
@NotNull
@NotNull Method setter,
@NotNull
@NotNull BeanPropertyComments comments)
name - name of the property in the exporttypeInformation - type of the propertygetter - getter for the propertysetter - setter for the propertycomments - the comments of the property@NotNull public @NotNull String getName()
getName in interface BeanPropertyDescription@NotNull public @NotNull TypeInformation getTypeInformation()
getTypeInformation in interface BeanPropertyDescription@Nullable public @Nullable Object getValue(@NotNull @NotNull Object bean)
getValue in interface BeanPropertyDescriptionbean - the bean to read the property frompublic void setValue(@NotNull
@NotNull Object bean,
@NotNull
@NotNull Object value)
setValue in interface BeanPropertyDescriptionbean - the bean to modifyvalue - the value to set the property to@NotNull public @NotNull BeanPropertyComments getComments()
getComments in interface BeanPropertyDescriptionCopyright © 2016–2023 The AuthMe Team. All rights reserved.