com.ibm.di.util
Class NotSerializable

java.lang.Object
  extended by com.ibm.di.util.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

Method Summary
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.
 java.lang.String getClassName()
           
 java.lang.String getReason()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClassName

public java.lang.String getClassName()

getValue

public java.lang.String getValue()

getReason

public java.lang.String getReason()

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.