|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.models.MapToItemTransform
public class MapToItemTransform
Transforms a Map into an Item by subsituting the Map keys and values with their corresponding Item values.
Constructor Summary | |
---|---|
MapToItemTransform()
Construct a new MapToItemTransform |
Method Summary | |
---|---|
java.lang.Class |
getInputClass()
Gets the input class to be transformed. |
java.lang.Class |
getOutputClass()
Gets the output class from the transform of the input class. |
java.lang.String |
getTextColumnName()
Gets the key name for the text column in the Map to be transformed. |
java.lang.String |
getValueColumnName()
Gets the key name for the value column in the Map to be transformed. |
void |
setTextColumnName(java.lang.String textName)
Sets the key name for the text column in the Map to be transformed. |
void |
setValueColumnName(java.lang.String valueName)
Sets the key name for the value column in the Map to be transformed. |
java.lang.Object |
transform(java.lang.Object input)
Transforms the input map into an Item |
Constructor Detail |
---|
public MapToItemTransform()
Method Detail |
---|
public java.lang.Object transform(java.lang.Object input)
transform
in interface com.sas.util.transforms.TransformInterface
input
- The map to transform into an Item
public void setTextColumnName(java.lang.String textName)
textName
- The name of the key in the Map for the text column.public java.lang.String getTextColumnName()
public void setValueColumnName(java.lang.String valueName)
valueName
- The name of the key in the Map for the value column.public java.lang.String getValueColumnName()
public java.lang.Class getInputClass()
getInputClass
in interface com.sas.util.transforms.TransformInputOutputInterface
public java.lang.Class getOutputClass()
getOutputClass
in interface com.sas.util.transforms.TransformInputOutputInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |