psdi.plusc.app.pluscds.util

Class PlusCToolKitTOServer

  • java.lang.Object
    • psdi.plusc.app.pluscds.util.PlusCToolKitTOServer


  • public final class PlusCToolKitTOServer
    extends java.lang.Object
    The Class PlusCToolKitTOServer.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void copyValues(MboRemote mboSource, psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote objectTO)
      Copy values from mboSource to objectTO.
      static psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote createTO(MboRemote mboSource, java.lang.Class objectType)
      Creates the to.
      static void setMboValues(MboRemote target, psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote source)
      Copy all changed attributes in source (retrieved through getChangedFields) to target.
      • Methods inherited from class java.lang.Object

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

      • PlusCToolKitTOServer

        public PlusCToolKitTOServer()
    • Method Detail

      • createTO

        public static psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote createTO(MboRemote mboSource,
                                                                                       java.lang.Class objectType)
                                                                                throws java.rmi.RemoteException,
                                                                                       java.lang.Exception
        Creates the to.
        Parameters:
        mboSource - The MboRemote to get the information from
        objectType - tThe Class object which will be created and populated with information of mboSource NOTE: That class MUST be a javabean
        Returns:
        An instance of objectType with mboSource data
        Throws:
        java.rmi.RemoteException - the remote exception
        java.lang.Exception - the exception
      • copyValues

        public static void copyValues(MboRemote mboSource,
                                      psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote objectTO)
                               throws java.lang.Exception
        Copy values from mboSource to objectTO.
        Parameters:
        mboSource - the mbo source
        objectTO - the object to
        Throws:
        java.lang.Exception - the exception
      • setMboValues

        public static void setMboValues(MboRemote target,
                                        psdi.plusc.app.pluscds.pluscmobilecommon.PlusCMboRemote source)
                                 throws java.lang.Exception
        Copy all changed attributes in source (retrieved through getChangedFields) to target.
        Parameters:
        target - the target
        source - the source
        Throws:
        java.lang.Exception - the exception