Package jadex.extension.rs.invoke.mapper
Class ConstantStringMapper
- java.lang.Object
- 
- jadex.extension.rs.invoke.mapper.ConstantStringMapper
 
- 
- All Implemented Interfaces:
- IValueMapper
 
 public class ConstantStringMapper extends java.lang.Object implements IValueMapper Mapper that returns a constant value not depending on the input value.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ObjectvalThe value that is returned.
 - 
Constructor SummaryConstructors Constructor Description ConstantStringMapper(java.lang.Object val)Create a new mapper.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectconvertValue(java.lang.Object value)Convert the given value.
 
- 
- 
- 
Method Detail- 
convertValuepublic java.lang.Object convertValue(java.lang.Object value) throws java.lang.ExceptionConvert the given value.- Specified by:
- convertValuein interface- IValueMapper
- Parameters:
- value- The value to convert.
- Returns:
- The converted value.
- Throws:
- java.lang.Exception
 
 
- 
 
-