Class ObjectTranslator

java.lang.Object
com.mckoi.database.global.ObjectTranslator

public class ObjectTranslator extends Object
This object compliments ObjectTransfer and provides a method to translate any object into a type the database engine can process.
Author:
Tobias Downer
  • Constructor Details

    • ObjectTranslator

      public ObjectTranslator()
  • Method Details

    • translate

      public static Object translate(Object ob)
      Translates the given object to a type the database can process.
    • serialize

      public static ByteLongObject serialize(Object ob)
      Serializes the Java object to a ByteLongObject.
    • deserialize

      public static Object deserialize(ByteLongObject blob)
      Deserializes a ByteLongObject to a Java object.