|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.util.transforms.ObjectToPropertyValueTransform
public class ObjectToPropertyValueTransform
ObjectToPropertyValueTransform transforms an Object into the value of one of its properties. The property to use is specified during the construction of the transform.
Field Summary | |
---|---|
protected java.lang.String |
propertyName
The name of the property to get the value of. |
Constructor Summary | |
---|---|
ObjectToPropertyValueTransform(java.lang.String propertyName)
Constructor which allows setting of the name of the property to use the value of. |
Method Summary | |
---|---|
java.lang.String |
getPropertyName()
Returns the name of the property to get the value of. |
void |
setPropertyName(java.lang.String propertyName)
Sets the name of the property to get the value of. |
java.lang.Object |
transform(java.lang.Object value)
Returns the value of the property from the object passed in. |
Field Detail |
---|
protected java.lang.String propertyName
Constructor Detail |
---|
public ObjectToPropertyValueTransform(java.lang.String propertyName)
The
- name of the property.Method Detail |
---|
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
propertyName
- The name of the property.public java.lang.Object transform(java.lang.Object value)
transform
in interface com.sas.util.transforms.TransformInterface
value
-
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |