Class LocaleBeanUtilsBean.Descriptor
- java.lang.Object
-
- org.apache.commons.beanutils.locale.LocaleBeanUtilsBean.Descriptor
-
- Enclosing class:
- LocaleBeanUtilsBean
@Deprecated protected class LocaleBeanUtilsBean.Descriptor extends java.lang.Object
Deprecated.Property name expressions are now processed by the configuredResolver
implementation and this class is no longer used by BeanUtils.
-
-
Constructor Summary
Constructors Constructor Description Descriptor(java.lang.Object target, java.lang.String name, java.lang.String propName, java.lang.String key, int index)
Deprecated.Construct a descriptor instance for the target bean and property.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getIndex()
Deprecated.Return indexed property index.java.lang.String
getKey()
Deprecated.Return the mapped property key.java.lang.String
getName()
Deprecated.Return property name (includes indexed/mapped expr).java.lang.String
getPropName()
Deprecated.Return the property name.java.lang.Object
getTarget()
Deprecated.Return the target bean.void
setIndex(int index)
Deprecated.Set the indexed property index.void
setKey(java.lang.String key)
Deprecated.Set the mapped property key.void
setName(java.lang.String name)
Deprecated.Set the property name (includes indexed/mapped expr).void
setPropName(java.lang.String propName)
Deprecated.Set the property name.void
setTarget(java.lang.Object target)
Deprecated.Set the target bean.
-
-
-
Constructor Detail
-
Descriptor
public Descriptor(java.lang.Object target, java.lang.String name, java.lang.String propName, java.lang.String key, int index)
Deprecated.Construct a descriptor instance for the target bean and property.- Parameters:
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)
-
-
Method Detail
-
getIndex
public int getIndex()
Deprecated.Return indexed property index.- Returns:
- indexed property index (if any)
-
getKey
public java.lang.String getKey()
Deprecated.Return the mapped property key.- Returns:
- the mapped property key (if any)
-
getName
public java.lang.String getName()
Deprecated.Return property name (includes indexed/mapped expr).- Returns:
- The property name (includes indexed/mapped expr)
-
getPropName
public java.lang.String getPropName()
Deprecated.Return the property name.- Returns:
- The property name
-
getTarget
public java.lang.Object getTarget()
Deprecated.Return the target bean.- Returns:
- The descriptors target bean
-
setIndex
public void setIndex(int index)
Deprecated.Set the indexed property index.- Parameters:
index
- The indexed property index (if any)
-
setKey
public void setKey(java.lang.String key)
Deprecated.Set the mapped property key.- Parameters:
key
- The mapped property key (if any)
-
setName
public void setName(java.lang.String name)
Deprecated.Set the property name (includes indexed/mapped expr).- Parameters:
name
- The property name (includes indexed/mapped expr)
-
setPropName
public void setPropName(java.lang.String propName)
Deprecated.Set the property name.- Parameters:
propName
- The property name
-
setTarget
public void setTarget(java.lang.Object target)
Deprecated.Set the target bean.- Parameters:
target
- The target bean
-
-