Package com.appiancorp.suiteapi.process
Class PvReturnConverter
java.lang.Object
com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
com.appiancorp.suiteapi.common.NamedTypedValueReturnConverter
com.appiancorp.suiteapi.process.TvReturnConverter
com.appiancorp.suiteapi.process.PvReturnConverter
- 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
- Direct Known Subclasses:
PvInstancesReturnConverter
@Deprecated
public class PvReturnConverter
extends TvReturnConverter
implements com.appiancorp.kougar.mapper.returns.FromNull, com.appiancorp.kougar.mapper.returns.FromDictionary
Deprecated.
Return converter for a ProcessVariable to handle the polymorphic
value field based on type.
-
Field Summary
Fields inherited from interface com.appiancorp.kougar.mapper.Converter
NULL_DOUBLE, NULL_INTEGER, NULL_INTEGER_LONG, NULL_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypedValue
convert
(com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, Long instanceType_, Object value) protected TypedValue
convert
(com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, Object instanceTypeObject_, Object value) Deprecated.convert method if no list is providedDeprecated.convert method if list is providedprotected void
fillProcessVariable
(List l_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, ProcessVariable pv, Map a) Deprecated.Deprecated.provides the Converter with the conversion class typeprotected Class
Deprecated.protected static Long
integerToLong
(Integer i_) Deprecated.protected static void
setBaseAttributes
(TypedVariable tv_, Map attributes_) Deprecated.Sets the key, type, and isPossiblyMultiple properties of the given tv to the corresponding properties in the given map.protected static boolean
Deprecated.Methods inherited from class com.appiancorp.suiteapi.common.NamedTypedValueReturnConverter
convert
Methods inherited from class com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
convert, findInList, getClassFromString
-
Constructor Details
-
PvReturnConverter
public PvReturnConverter()Deprecated.
-
-
Method Details
-
getConversionClass
Deprecated.provides the Converter with the conversion class type- Specified by:
getConversionClass
in interfacecom.appiancorp.kougar.mapper.Converter
- Overrides:
getConversionClass
in classTvReturnConverter
-
convert
Deprecated.convert method if no list is provided- Specified by:
convert
in interfacecom.appiancorp.kougar.mapper.returns.FromNull
- Overrides:
convert
in classTvReturnConverter
-
setBaseAttributes
Deprecated.Sets the key, type, and isPossiblyMultiple properties of the given tv to the corresponding properties in the given map. Other classes in this package use this method when converting other types of typed variables.- Parameters:
tv_
- a typed variableattributes_
- a map of attributes coming from K
-
convert
public Object convert(Class d_, List l_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_) throws com.appiancorp.kougar.mapper.exceptions.ReturnException Deprecated.convert method if list is provided- Specified by:
convert
in interfacecom.appiancorp.kougar.mapper.returns.FromDictionary
- Overrides:
convert
in classTvReturnConverter
- Throws:
com.appiancorp.kougar.mapper.exceptions.ReturnException
-
fillProcessVariable
protected void fillProcessVariable(List l_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, ProcessVariable pv, Map a) Deprecated. -
getValueClass
Deprecated. -
integerToLong
Deprecated. -
toBoolean
Deprecated. -
convert
protected TypedValue convert(com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, Object instanceTypeObject_, Object value) throws InvalidTypeException - Throws:
InvalidTypeException
-
convert
protected TypedValue convert(com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_, Long instanceType_, Object value) throws InvalidTypeException - Throws:
InvalidTypeException
-