Package loaddata

Source Code of loaddata.LoadWord

/**
*
*/
package loaddata;

import api.ContextObject;

/**
* @author varav
*
*/
public class LoadWord {

  /**
   * @param args
   */
  public static void main(String[] args) {
    // TODO Auto-generated method stub

       ContextObject context = new ContextObject();
      
       orm.Tmp_palabrasemantica[] ormTmp_palabrasemanticas = context.oPalabraSemantica.load(null,null);
      int length = ormTmp_palabrasemanticas.length;
//
//      System.out.println("Resultado");
//      for (int i = 0; i < length; i++) {
//        System.out.println("#######");
//        System.out.println("Registro ID " + ormTmp_palabrasemanticas[i].getPs_id());
//        System.out.println("Registro Palabra " +ormTmp_palabrasemanticas[i].getPs_palabra());
//        System.out.println("Registro Valor " +ormTmp_palabrasemanticas[i].getPs_valor());
//        System.out.println("Registro Categoria " +ormTmp_palabrasemanticas[i].getPs_cp().getCp_nombre());
//      }
//     
//       orm.Tmp_palabrasemantica[] ormTmp_palabrasemanticas2 = context.oPalabraSemantica.load("software",null);
//        int length2 = ormTmp_palabrasemanticas2.length;
//
//        System.out.println("Resultado 2");
//        for (int i = 0; i < length2; i++) {
//          System.out.println("#######");
//          System.out.println("Registro ID " + ormTmp_palabrasemanticas2[i].getPs_id());
//          System.out.println("Registro Palabra " +ormTmp_palabrasemanticas2[i].getPs_palabra());
//          System.out.println("Registro Valor " +ormTmp_palabrasemanticas2[i].getPs_valor());
//          System.out.println("Registro Categoria " +ormTmp_palabrasemanticas2[i].getPs_cp().getCp_nombre());
//        }
       
       
      orm.Tmp_palabrasemantica[] ormTmp_palabrasemanticas3 = context.oPalabraSemantica.load(null,"carabinero");
      int length3 = ormTmp_palabrasemanticas3.length;

        System.out.println("Resultado 3");
        for (int i = 0; i < length3; i++) {
          System.out.println("#######");
          System.out.println("Registro ID " + ormTmp_palabrasemanticas3[i].getPs_id());
          System.out.println("Registro Palabra " +ormTmp_palabrasemanticas3[i].getPs_palabra());
          System.out.println("Registro Valor " +ormTmp_palabrasemanticas3[i].getPs_valor());
          System.out.println("Registro Categoria " +ormTmp_palabrasemanticas3[i].getPs_cp().getCp_nombre());
         
         
        }
     
//        orm.Tmp_palabrasemantica[] ormTmp_palabrasemanticas4 = ContextObject.oPalabraSemantica.load(" ","                              " );
//        int length4 = ormTmp_palabrasemanticas4.length;
//
//          System.out.println("Resultado 4");
//          for (int i = 0; i < length4; i++) {
//            System.out.println("#######");
//            System.out.println("Registro ID " + ormTmp_palabrasemanticas4[i].getPs_id());
//            System.out.println("Registro Palabra " +ormTmp_palabrasemanticas4[i].getPs_palabra());
//            System.out.println("Registro Valor " +ormTmp_palabrasemanticas4[i].getPs_valor());
//            System.out.println("Registro Categoria " +ormTmp_palabrasemanticas4[i].getPs_cp().getCp_nombre());
//           
//           
//          }

  }

}
TOP

Related Classes of loaddata.LoadWord

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.