org.apache.commons.beanutils.locale
Class LocaleBeanUtils.Descriptor
java.lang.Objectorg.apache.commons.beanutils.locale.LocaleBeanUtils.Descriptor
- LocaleBeanUtils
protected static class LocaleBeanUtils.Descriptor
extends java.lang.Object
Descriptor(Object target, String name, String propName, String key, int index)- Construct a descriptor instance for the target bean and property.
|
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.
|
propName
private String propName
target
private Object target
Descriptor
public Descriptor(Object target,
String name,
String propName,
String key,
int index) Construct a descriptor instance for the target bean and property.
target - The target beanname - The property name (includes indexed/mapped expr)propName - The property namekey - The mapped property key (if any)index - The indexed property index (if any)
getIndex
public int getIndex()
Return indexed property index.
- indexed property index (if any)
getKey
public String getKey()
Return the mapped property key.
- the mapped property key (if any)
getName
public String getName()
Return property name (includes indexed/mapped expr).
- The property name (includes indexed/mapped expr)
getPropName
public String getPropName()
Return the property name.
getTarget
public Object getTarget()
Return the target bean.
- The descriptors target bean
setIndex
public void setIndex(int index)
Set the indexed property index.
index - The indexed property index (if any)
setKey
public void setKey(String key)
Set the mapped property key.
key - The mapped property key (if any)
setName
public void setName(String name)
Set the property name (includes indexed/mapped expr).
name - The property name (includes indexed/mapped expr)
setPropName
public void setPropName(String propName)
Set the property name.
propName - The property name
setTarget
public void setTarget(Object target)
Set the target bean.
Copyright (c) 2001-2007 - Apache Software Foundation