public class BeanProperty<T,V> extends Object
Constructor and Description |
---|
BeanProperty(Class<T> beanClass,
String propertyName,
boolean readable,
boolean writable)
Creates a new
BeanProperty that gets the specified property from the specified class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
V |
get(T member)
Gets the value of this property for the specified Object.
|
Class<T> |
getBeanClass()
Gets the base class that this getter accesses.
|
String |
getPropertyName()
Gets the name of the property that this getter extracts.
|
Class |
getValueClass()
Gets the class of the property's value.
|
int |
hashCode() |
boolean |
isReadable()
Gets whether this property can get get.
|
boolean |
isWritable()
Gets whether this property can be set.
|
Object |
set(T member,
V newValue)
Gets the value of this property for the specified Object.
|
public BeanProperty(Class<T> beanClass, String propertyName, boolean readable, boolean writable)
BeanProperty
that gets the specified property from the specified class.public String getPropertyName()
public Class getValueClass()
public boolean isReadable()
public boolean isWritable()
public Object set(T member, V newValue)
Copyright © 2024 levigo holding gmbh. All rights reserved.