ilog.rules.dvs.common.output.impl

Class IlrKPIResultMap

  • java.lang.Object
    • ilog.rules.dvs.common.output.impl.IlrBaseKPIResult
      • ilog.rules.dvs.common.output.impl.IlrKPIResultMap
  • All Implemented Interfaces:
    IlrKPIResult, java.io.Serializable


    public class IlrKPIResultMap
    extends ilog.rules.dvs.common.output.impl.IlrBaseKPIResult
    A KPI result that is a map of serializable objects.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrKPIResultMap() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void fromByteArray(byte[] bytes)
      Initializes the state of this KPI result from passed byte array.
      java.util.Map<java.lang.String,java.io.Serializable> getValue()
      Gets the map value.
      void setValue(java.util.Map<java.lang.String,java.io.Serializable> value)
      Sets the map value.
      byte[] toByteArray()
      Converts this KPI result to a byte array.
      • Methods inherited from class ilog.rules.dvs.common.output.impl.IlrBaseKPIResult

        getKPIClassName, setKPIClassName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrKPIResultMap

        public IlrKPIResultMap()
    • Method Detail

      • toByteArray

        public byte[] toByteArray()
                           throws IlrKPIException
        Description copied from interface: IlrKPIResult
        Converts this KPI result to a byte array.
        Throws:
        IlrKPIException - if an error occurred while converting to byte array.
        Returns:
        This KPI result as a byte array.
      • fromByteArray

        public void fromByteArray(byte[] bytes)
                           throws IlrKPIException
        Description copied from interface: IlrKPIResult
        Initializes the state of this KPI result from passed byte array.
        Throws:
        IlrKPIException - if an error occurred while trying to deserialize state.
        Parameters:
        bytes - A byte[] that contains the serialization of the KPI result.
      • getValue

        public java.util.Map<java.lang.String,java.io.Serializable> getValue()
        Gets the map value.
        Returns:
        The map value.
      • setValue

        public void setValue(java.util.Map<java.lang.String,java.io.Serializable> value)
        Sets the map value.
        Parameters:
        value - The map value.

© Copyright IBM Corp. 1987, 2017