Class PvReturnConverter

java.lang.Object
com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
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

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.
  • Constructor Details

    • PvReturnConverter

      public PvReturnConverter()
      Deprecated.
  • Method Details

    • getConversionClass

      public Class getConversionClass()
      Deprecated.
      provides the Converter with the conversion class type
      Specified by:
      getConversionClass in interface com.appiancorp.kougar.mapper.Converter
      Overrides:
      getConversionClass in class TvReturnConverter
    • convert

      public Object convert(Class d_, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m_)
      Deprecated.
      convert method if no list is provided
      Specified by:
      convert in interface com.appiancorp.kougar.mapper.returns.FromNull
      Overrides:
      convert in class TvReturnConverter
    • setBaseAttributes

      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. Other classes in this package use this method when converting other types of typed variables.
      Parameters:
      tv_ - a typed variable
      attributes_ - 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 interface com.appiancorp.kougar.mapper.returns.FromDictionary
      Overrides:
      convert in class TvReturnConverter
      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

      protected Class getValueClass(ProcessVariable pv)
      Deprecated.
    • integerToLong

      protected static Long integerToLong(Integer i_)
      Deprecated.
    • toBoolean

      protected static boolean toBoolean(Object param_)
      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