com.ibm.websphere.rpcadapter.converters.sql

Class Timestamp

  • java.lang.Object
    • com.ibm.websphere.rpcadapter.converters.sql.Timestamp
  • All Implemented Interfaces:
    IConverter


    public class Timestamp
    extends java.lang.Object
    implements IConverter
    Custom Converter for java.sql.Timestamp
    • Constructor Summary

      Constructors 
      Constructor and Description
      Timestamp() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object toJson(java.lang.Object obj)
      Convert Java object to a JSON representation.
      java.lang.Object toObject(java.lang.Object json)
      Convert JSON representation to a Java object.
      java.lang.String toXml(java.lang.Object obj)
      Convert Java object to xml representation.
      • Methods inherited from class java.lang.Object

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

      • Timestamp

        public Timestamp()
    • Method Detail

      • toJson

        public java.lang.Object toJson(java.lang.Object obj)
        Description copied from interface: IConverter
        Convert Java object to a JSON representation.
        Specified by:
        toJson in interface IConverter
      • toObject

        public java.lang.Object toObject(java.lang.Object json)
        Description copied from interface: IConverter
        Convert JSON representation to a Java object.
        Specified by:
        toObject in interface IConverter
      • toXml

        public java.lang.String toXml(java.lang.Object obj)
        Convert Java object to xml representation.
        Specified by:
        toXml in interface IConverter
        Parameters:
        obj -
        Returns: