Package org.salamanca.domain

Examples of org.salamanca.domain.DescuentoSumaFija


        }

        //si lleg� hasta ac� es que seleccion� solo una opcion
        //-------------- SUMA FIJA
        if (sumafija != 0) {
            DescuentoSumaFija descuentoSumaFija = new DescuentoSumaFija();
            descuentoSumaFija.setNombre(nombre);
            descuentoSumaFija.setSumaFija(sumafija);

            ICommand insertarDescuentoSumaFija = CommandFactory.
                                                 createInsertarDescuentoSumaFija(
                    descuentoSumaFija);
            try {
View Full Code Here


                    "Imposible eliminar, el descuento tiene personas asociadas");
        }
        PersistenceManager pm = BrokerServer.instance().getPMF().
                                getPersistenceManager();
        pm.currentTransaction().begin();
        DescuentoSumaFija descuentoSumaFijaPM = (DescuentoSumaFija) pm.getObjectById(javax.jdo.
                JDOHelper.getObjectId(descuentoSumaFija),true);


        pm.deletePersistent(descuentoSumaFijaPM);
        pm.currentTransaction().commit();
View Full Code Here

TOP

Related Classes of org.salamanca.domain.DescuentoSumaFija

Copyright © 2018 www.massapicom. 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.