protected static class

LocaleBeanUtils.Descriptor

extends Object
java.lang.Object
   ↳ org.apache.commons.beanutils.locale.LocaleBeanUtils.Descriptor

This class is deprecated.
moved into LocaleBeanUtils

Summary

Public Constructors
LocaleBeanUtils.Descriptor(Object target, String name, String propName, String key, int index)
Construct a descriptor instance for the target bean and property.
Public Methods
int getIndex()
Return indexed property index.
String getKey()
Return the mapped property key.
String getName()
Return property name (includes indexed/mapped expr).
String getPropName()
Return the property name.
Object getTarget()
Return the target bean.
void setIndex(int index)
Set the indexed property index.
void setKey(String key)
Set the mapped property key.
void setName(String name)
Set the property name (includes indexed/mapped expr).
void setPropName(String propName)
Set the property name.
void setTarget(Object target)
Set the target bean.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LocaleBeanUtils.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)

Public Methods

public int getIndex ()

Return indexed property index.

Returns
  • indexed property index (if any)

public String getKey ()

Return the mapped property key.

Returns
  • the mapped property key (if any)

public String getName ()

Return property name (includes indexed/mapped expr).

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

public String getPropName ()

Return the property name.

Returns
  • The property name

public Object getTarget ()

Return the target bean.

Returns
  • The descriptors target bean

public void setIndex (int index)

Set the indexed property index.

Parameters
index The indexed property index (if any)

public void setKey (String key)

Set the mapped property key.

Parameters
key The mapped property key (if any)

public void setName (String name)

Set the property name (includes indexed/mapped expr).

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

public void setPropName (String propName)

Set the property name.

Parameters
propName The property name

public void setTarget (Object target)

Set the target bean.

Parameters
target The target bean