org.apache.commons.beanutils.locale

Class LocaleBeanUtilsBean.Descriptor

protected class LocaleBeanUtilsBean.Descriptor extends Object

Deprecated: Property name expressions are now processed by the configured Resolver implementation and this class is no longer used by BeanUtils.

Constructor Summary
Descriptor(Object target, String name, String propName, String key, int index)
Construct a descriptor instance for the target bean and property.
Method Summary
intgetIndex()
Return indexed property index.
StringgetKey()
Return the mapped property key.
StringgetName()
Return property name (includes indexed/mapped expr).
StringgetPropName()
Return the property name.
ObjectgetTarget()
Return the target bean.
voidsetIndex(int index)
Set the indexed property index.
voidsetKey(String key)
Set the mapped property key.
voidsetName(String name)
Set the property name (includes indexed/mapped expr).
voidsetPropName(String propName)
Set the property name.
voidsetTarget(Object target)
Set the target bean.

Constructor Detail

Descriptor

public Descriptor(Object target, String name, String propName, String key, int index)
Construct a descriptor instance for the target bean and property.

Parameters: target The target bean name The property name (includes indexed/mapped expr) propName The property name key The mapped property key (if any) index The indexed property index (if any)

Method Detail

getIndex

public int getIndex()
Return indexed property index.

Returns: indexed property index (if any)

getKey

public String getKey()
Return the mapped property key.

Returns: the mapped property key (if any)

getName

public String getName()
Return property name (includes indexed/mapped expr).

Returns: The property name (includes indexed/mapped expr)

getPropName

public String getPropName()
Return the property name.

Returns: The property name

getTarget

public Object getTarget()
Return the target bean.

Returns: The descriptors target bean

setIndex

public void setIndex(int index)
Set the indexed property index.

Parameters: index The indexed property index (if any)

setKey

public void setKey(String key)
Set the mapped property key.

Parameters: key The mapped property key (if any)

setName

public void setName(String name)
Set the property name (includes indexed/mapped expr).

Parameters: name The property name (includes indexed/mapped expr)

setPropName

public void setPropName(String propName)
Set the property name.

Parameters: propName The property name

setTarget

public void setTarget(Object target)
Set the target bean.

Parameters: target The target bean

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.