public class BeanProperty extends Object
Constructor and Description |
---|
BeanProperty()
Create a new bean property.
|
BeanProperty(String name,
Class type,
Method getter,
Method setter,
Class settertype,
IBeanDelegateProvider delegateprovider)
Create a new bean property.
|
BeanProperty(String name,
Field field,
IBeanDelegateProvider delegateprovider)
Create a new bean property.
|
Modifier and Type | Method and Description |
---|---|
Field |
getField()
Get the field.
|
Method |
getGetter()
Get the getter.
|
String |
getName()
Get the name.
|
Object |
getPropertyValue(Object object)
Retrieves the bean property value for the given object.
|
Method |
getSetter()
Get the setter.
|
Class |
getSetterType()
Get the setter_type.
|
Class |
getType()
Get the type.
|
void |
setField(Field field)
Set the field.
|
void |
setGetter(Method getter)
Set the getter.
|
void |
setName(String name)
Set the name.
|
void |
setPropertyValue(Object object,
Object value)
Sets the bean property value for the given object.
|
void |
setSetter(Method setter)
Set the setter.
|
void |
setSetterType(Class settertype)
Set the setter type.
|
void |
setType(Class type)
Set the type.
|
public BeanProperty()
public BeanProperty(String name, Class type, Method getter, Method setter, Class settertype, IBeanDelegateProvider delegateprovider)
public BeanProperty(String name, Field field, IBeanDelegateProvider delegateprovider)
public String getName()
public void setName(String name)
name
- The name to set.public Class getType()
public void setType(Class type)
type
- The type to set.public Method getGetter()
public void setGetter(Method getter)
getter
- The getter to set.public Method getSetter()
public void setSetter(Method setter)
setter
- The setter to set.public Class getSetterType()
public void setSetterType(Class settertype)
settertype
- The setter type to set.public Field getField()
public void setField(Field field)
field
- The field to set.public Object getPropertyValue(Object object)
object
- The object containing the bean property.property
- The name of the property.Copyright © 2012. All Rights Reserved.