public class EventProducerReturnConverter
extends com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
implements com.appiancorp.kougar.mapper.returns.FromNull, com.appiancorp.kougar.mapper.returns.FromDictionary
EventProducer
object. Used when data is
returned from a database API method.Constructor and Description |
---|
EventProducerReturnConverter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convert(java.lang.Class targetClass_,
java.util.List l_,
com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_)
Deprecated.
Converts the database-format data to an
EventProducer object. |
java.lang.Object |
convert(java.lang.Class c_,
com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_)
Deprecated.
Converts
null to an EventProducer object. |
java.lang.Class |
getConversionClass()
Deprecated.
Gets the class that it can convert to (
EventProducer ). |
public java.lang.Object convert(java.lang.Class c_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_) throws com.appiancorp.kougar.mapper.exceptions.ReturnException
convert
in interface com.appiancorp.kougar.mapper.returns.FromNull
c_
- the class to convert tom_
- the return conversion mapnull
com.appiancorp.kougar.mapper.exceptions.ReturnException
- if anything goes wrongpublic java.lang.Object convert(java.lang.Class targetClass_, java.util.List l_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_) throws com.appiancorp.kougar.mapper.exceptions.ReturnException
EventProducer
object.convert
in interface com.appiancorp.kougar.mapper.returns.FromDictionary
targetClass_
- the class to convert tol_
- the data in database formatm_
- the return conversion mapEventProducer
objectcom.appiancorp.kougar.mapper.exceptions.ReturnException
- if the type is null
or anything goes wrongpublic java.lang.Class getConversionClass()
EventProducer
).getConversionClass
in interface com.appiancorp.kougar.mapper.Converter
EventProducer.class
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.