com.ibm.di.util
Class NotSerializable

java.lang.Object
  extended by com.ibm.di.util.NotSerializable
All Implemented Interfaces:
Serializable

public class NotSerializable
extends Object
implements 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 Object convertObject(Object value)
          Converts an object to a serializable representation if needed.
 String getClassName()
           
 String getReason()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClassName

public String getClassName()

getValue

public String getValue()

getReason

public String getReason()

toString

public String toString()
Overrides:
toString in class 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 Object convertObject(Object value)
Converts an object to a serializable representation if needed.

Parameters:
value - Object to convert.
Returns:
A serializable representation of the object.