Class EventProducerReturnConverter
java.lang.Object
com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
com.appiancorp.suiteapi.process.events.EventProducerReturnConverter
- All Implemented Interfaces:
com.appiancorp.kougar.mapper.Converter
,com.appiancorp.kougar.mapper.returns.FromDictionary
,com.appiancorp.kougar.mapper.returns.FromNull
,com.appiancorp.kougar.mapper.returns.ReturnConverter
public class EventProducerReturnConverter
extends com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
implements com.appiancorp.kougar.mapper.returns.FromNull, com.appiancorp.kougar.mapper.returns.FromDictionary
Deprecated.
Return converter for converting data from the database format to an
EventProducer
object. Used when data is
returned from a database API method.-
Field Summary
Fields inherited from interface com.appiancorp.kougar.mapper.Converter
NULL_DOUBLE, NULL_INT, NULL_INTEGER, NULL_INTEGER_LONG, NULL_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Convertsnull
to anEventProducer
object.Deprecated.Converts the database-format data to anEventProducer
object.Deprecated.Gets the class that it can convert to (EventProducer
).Methods inherited from class com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
convert, findInList, getClassFromString
-
Constructor Details
-
EventProducerReturnConverter
public EventProducerReturnConverter()Deprecated.
-
-
Method Details
-
convert
public Object convert(Class c_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_) throws com.appiancorp.kougar.mapper.exceptions.ReturnException Deprecated.- Specified by:
convert
in interfacecom.appiancorp.kougar.mapper.returns.FromNull
- Parameters:
c_
- the class to convert tom_
- the return conversion map- Returns:
null
- Throws:
com.appiancorp.kougar.mapper.exceptions.ReturnException
- if anything goes wrong
-
convert
public Object convert(Class targetClass_, List l_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_) throws com.appiancorp.kougar.mapper.exceptions.ReturnException Deprecated.Converts the database-format data to anEventProducer
object.- Specified by:
convert
in interfacecom.appiancorp.kougar.mapper.returns.FromDictionary
- Parameters:
targetClass_
- the class to convert tol_
- the data in database formatm_
- the return conversion map- Returns:
- the new
EventProducer
object - Throws:
com.appiancorp.kougar.mapper.exceptions.ReturnException
- if the type isnull
or anything goes wrong
-
getConversionClass
Deprecated.Gets the class that it can convert to (EventProducer
).- Specified by:
getConversionClass
in interfacecom.appiancorp.kougar.mapper.Converter
- Returns:
EventProducer.class
-