Examples of copy4()


Examples of KFramework30.Communication.persistentObjectManagerClass.copy4()

                // display the client name               
                persistentObjectManagerClass POM = new persistentObjectManagerClass(configuration, log);

                // read the client of this invoice, no SQL anywhere ...
                sample_clientClass client = new sample_clientClass();
                client = ( sample_clientClass ) POM.copy4( ((sample_facturaClass)KDialogController.getCurrentObjectDisplayed()).getClientId(), sample_clientClass.class );

                clientNameLabel.setText( client.getClientName() );
                // ---------------------------------------------------------------------       

View Full Code Here

Examples of KFramework30.Communication.persistentObjectManagerClass.copy4()

                    // materialize object
                    sample_facturaClass factura = new sample_facturaClass();

                    persistentObjectManagerClass pom = new persistentObjectManagerClass(configuration, log) ;
                    factura = (sample_facturaClass) pom.copy4( KMetaUtilsClass.getIntegralNumericValueFromString(  (String) currentRow.getValueAt(6) ), factura.getClass()  );
                                      
                    // update it
                   
                    // OK box
                   
View Full Code Here

Examples of KFramework30.Communication.persistentObjectManagerClass.copy4()

                persistentObjectManagerClass persistentObjectManager =
                        new persistentObjectManagerClass( configuration, log );           

                long id = KMetaUtilsClass.getIntegralNumericValueFromString( configuration.getField( "system_user_id") );
                usuario = (systemUserClass) persistentObjectManager.copy4( id, usuario.getClass() );
               
                system_user_id.setText(
                        KMetaUtilsClass.toDecimalString( usuario.getSystem_user_id() ));
                system_user_name.setText(usuario.getSystem_user_name() );
            }
View Full Code Here

Examples of KFramework30.Communication.persistentObjectManagerClass.copy4()

                // print selected product's label
       
                    // load the product selected
                    persistentObjectManagerClass pom = new persistentObjectManagerClass(configuration, log);
                    sample_productClass productSelected = new sample_productClass();
                    productSelected = (sample_productClass) pom.copy4( ((sample_itemClass)KDialogController.getCurrentObjectDisplayed()).getProdId() , sample_productClass.class );       

                    // fill up some fields for reference
                    productDescription.setText( productSelected.getProdName() );
                    UnitCostLabel.setText( KMetaUtilsClass.toCurrencyString( productSelected.getProdCost() ) );                     
                    if( productSelected.getProdPicture() != null ) pictureLabel.setIconnew ImageIcon( productSelected.getProdPicture() ) );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.