Class NotSerializable

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotSerializable
    extends java.lang.Object
    implements java.io.Serializable
    This class is used to transport information about non-serializable Objects. Used by debugger.
    Since:
    7.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAX_CHILDREN  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Attribute convertAttribute​(Attribute a)
      Converts the values in the attribute to a serializable representation if needed.
      static Entry convertEntry​(Entry e)
      Checks if entry is of type Entry and traverses all attributes and values to see if any of them are not serializable.
      static java.lang.Object convertObject​(java.lang.Object value)
      Converts an object to a serializable representation if needed.
      static java.lang.Object convertObject​(java.lang.Object value, com.ibm.di.util.NotSerializable.SimpleMap map)
      Converts an object to a serializable representation if needed.
      java.lang.Object getChild​(int i)  
      java.lang.String getChildName​(int i)  
      java.lang.String getClassName()  
      java.lang.String getReason()  
      java.lang.String getValue()  
      int numChildren()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getChild

        public java.lang.Object getChild​(int i)
      • getChildName

        public java.lang.String getChildName​(int i)
      • getClassName

        public java.lang.String getClassName()
      • getValue

        public java.lang.String getValue()
      • getReason

        public java.lang.String getReason()
      • numChildren

        public int numChildren()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • convertEntry

        public static Entry convertEntry​(Entry e)
        Checks if entry is of type Entry and traverses all attributes and values to see if any of them are not serializable. Non serializable values are converted to its string representation in the new returned entry.
        Parameters:
        e - The entry object to convert
        Returns:
        The converted entry
      • convertAttribute

        public static Attribute convertAttribute​(Attribute a)
        Converts the values in the attribute to a serializable representation if needed.
        Parameters:
        a - The attribute to convert
        Returns:
        A new Attribute with serializable values
      • convertObject

        public static java.lang.Object convertObject​(java.lang.Object value)
        Converts an object to a serializable representation if needed.
        Parameters:
        value - Object to convert.
        Returns:
        A serializable representation of the object.
      • convertObject

        public static java.lang.Object convertObject​(java.lang.Object value,
                                                     com.ibm.di.util.NotSerializable.SimpleMap map)
        Converts an object to a serializable representation if needed.
        Parameters:
        value - Object to convert.
        map - Map mapping objects to their representation, used to avoid loops
        Returns:
        A serializable representation of the object.