Package com.centraview.account.common

Examples of com.centraview.account.common.ItemLines


      dl.setSqlQuery("select * from `orderitem` where status != 'Deleted' and orderid = "
          + this.orderForm.getOrderIdValue() + ";");
      Collection col = dl.executeQuery();

      if (col != null) {
        ItemLines itemLines = new ItemLines();
        Iterator it = col.iterator();
        int count = 1;
        while (it.hasNext()) {
          HashMap hm = (HashMap) it.next();
          int lineID = ((Number) hm.get("lineid")).intValue();
          int itemID = ((Number) hm.get("itemid")).intValue();
          int quantity = ((Number) hm.get("quantity")).intValue();
          float price = ((Number) hm.get("price")).floatValue();
          String sku = (String) hm.get("sku");
          String description = (String) hm.get("description");
          float taxTotal = ((Number) hm.get("taxAmount")).floatValue();
          String status = (String) hm.get("status");
          float priceExtended = quantity * price;

          IntMember LineId = new IntMember("LineId", lineID, 'D', "", 'T', false, 20);
          IntMember ItemId = new IntMember("ItemId", itemID, 'D', "", 'T', false, 20);
          IntMember Quantity = new IntMember("Quantity", quantity, 'D', "", 'T', false, 20);
          FloatMember PriceEach = new FloatMember("Price", new Float(price), 'D', "", 'T', false, 20);
          StringMember SKU = new StringMember("SKU", sku, 'D', "", 'T', false);
          StringMember Description = new StringMember("Description", description, 'D', "", 'T', false);
          FloatMember PriceExtended = new FloatMember("PriceExtended", new Float(priceExtended), 'D', "", 'T', false,
              20);
          FloatMember TaxAmount = new FloatMember("TaxAmount", new Float(taxTotal), 'D', "", 'T', false, 20);

          ItemElement ie = new ItemElement(11);
          ie.put("LineId", LineId);
          ie.put("ItemId", ItemId);
          ie.put("Quantity", Quantity);
          ie.put("Price", PriceEach);
          ie.put("SKU", SKU);
          ie.put("Description", Description);
          ie.put("PriceExtended", PriceExtended);
          ie.put("TaxAmount", TaxAmount);
          ie.setLineStatus(status);
          itemLines.put("" + count, ie);
          count++;
        }
        this.orderForm.setItemLines(itemLines);
      }// end of if
    } catch (Exception e) {
View Full Code Here


  public void ejbStore()
  {
    if (isDirty) {
      CVDal dl = new CVDal(this.dataSource);
      try {
        ItemLines itemLines = orderForm.getItemLines();
        itemLines.calculate();
        dl.setSql("order.updateorder");

        dl.setInt(1, this.orderForm.getCustomerIdValue()); // entityid
        dl.setInt(2, this.orderForm.getBillToAddIdValue());// bill address
        dl.setInt(3, this.orderForm.getShipToAddIdValue()); // ship address
        dl.setInt(4, this.orderForm.getStatusIdValue());// status
        dl.setString(5, this.orderForm.getPo()); // ponumber
        dl.setInt(6, this.orderForm.getTermsIdValue()); // terms
        dl.setInt(7, this.orderForm.getAcctMgrIdValue()); // accountmgr
        dl.setInt(8, this.orderForm.getProjectIdValue()); // projectid

        dl.setFloat(9, itemLines.getSubtotal()); // sub total
        dl.setFloat(10, itemLines.getTax()); // tax
        dl.setFloat(11, itemLines.getTotal()); // total

        dl.setString(12, this.orderForm.getNotes());
        if (orderForm.getInvoiceIsGenerated())
          dl.setString(13, "YES");
        else
          dl.setString(13, "NO");
        dl.setInt(14, this.orderForm.getModifiedBy()); // modified By
        dl.setInt(15, this.orderForm.getOrderIdValue()); // order id
        dl.executeUpdate();
        dl.clearParameters();

        // Insert,Update Order Lines. as per status.

        Set listkey = itemLines.keySet();
        Iterator it = listkey.iterator();
        while (it.hasNext()) {
          Object str = it.next();
          ItemElement ele = (ItemElement) itemLines.get(str);
          String status = ele.getLineStatus();

          if (status == null)
            status = "";
          status = status.trim();
View Full Code Here

  {

    StringTokenizer st;
    String token, nextItr;

    ItemLines itemLines = expenseVO.getItemLines();

    if(itemLines == null)
    itemLines = new ItemLines();

    int counter = itemLines.size();

    if (newItemID != null && !newItemID.equals("") )
    {
      st = new StringTokenizer(newItemID, ",");

      while (st.hasMoreTokens())
      {
        try
        {
          float taxRate = 0.0f;
          token   = (String)st.nextToken();
          int intToken = Integer.parseInt(token);
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,intToken);

          //Get the Required Fields from the Item VO
          String name = item.getItemName();
          String sku = item.getSku();
          float price = (float)item.getPrice();
          int id = item.getItemId();

          //Form the ItemLines
          counter += 1;
          IntMember LineId = new IntMember("LineId",counter,10,"",'T',false,20);
          IntMember ItemId = new IntMember("ItemId",id,10,"",'T',false,20);
          StringMember SKU = new StringMember("SKU",sku,10,"",'T',false);
          StringMember Description = new StringMember("Description",name,10,"",'T',false);
          FloatMember  Quantity = new FloatMember("Quantity",new Float(1.0f),10,"",'T',false,20);
          FloatMember  PriceEach = new FloatMember("PriceEach",new Float(price),10,"",'T',false,20);
          FloatMember  PriceExtended = new FloatMember("PriceExtended",new Float(0.0f),10,"",'T',false,20);
          FloatMember  UnitTax = new FloatMember("UnitTax",new Float(0.0f),10,"",'T',false,20);
          FloatMember  TaxRate = new FloatMember("UnitTaxrate",new Float(taxRate),10,"",'T',false,20);
          FloatMember  OrderQuantity = new FloatMember("OrderQuantity",new Float(1.0f),10,"",'T',false,20);
          FloatMember  PendingQuantity = new FloatMember("PendingQuantity",new Float(0.0f),10,"",'T',false,20);


          ItemElement ie = new ItemElement(counter);
          ie.put ("LineId",LineId);
          ie.put ("ItemId",ItemId);
          ie.put ("SKU",SKU);
          ie.put ("Description",Description);
          ie.put ("Quantity",Quantity);
          ie.put ("PriceEach",PriceEach);
          ie.put ("PriceExtended",PriceExtended);
          ie.put ("UnitTax",UnitTax);
          ie.put ("UnitTaxrate",TaxRate);
          ie.put ("OrderQuantity",OrderQuantity);
          ie.put ("PendingQuantity",PendingQuantity);

          ie.setLineStatus("New");

          itemLines.put(new Integer(counter), ie);
        }catch(Exception e)
        {
          System.out.println("[Exception][AccountHelperEJB.calculateExpenseItems] Exception Thrown: "+e);
          e.printStackTrace();
        }

      }//while

    }//if
    itemLines.calculate();
    expenseVO.setItemLines(itemLines);
    return expenseVO;

  }//End of AddItems for Expense
View Full Code Here

  */
  private Integer jurisdictionID;

  public InvoiceVO()
  {
    itemLines = new ItemLines();
  }
View Full Code Here

  {
    //CVDal dl = new CVDal(dataSource);
    StringTokenizer st;
    String token, nextItr;

    ItemLines itemLines = invoiceVO.getItemLines();
    if(itemLines == null)
      itemLines = new ItemLines();
    int counter = itemLines.size();
    if (counter!=0)
    {
      Set s = itemLines.keySet();
      Iterator itr = s.iterator();
      while(itr.hasNext() )
      {
        float taxRate = 0.0f;
        //ItemElement ie = (ItemElement)itr.next();
        ItemElement ie = (ItemElement)itemLines.get(itr.next());
        int id = ((Integer)((IntMember)ie.get("ItemId")).getMemberValue()).intValue();
        try
        {
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,id);
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;

          if (invoiceVO.getShipToId()!=0)
          {
            ContactHelperLocalHome home1 = ( ContactHelperLocalHome )ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home1.create();
            contactHelperLocal.setDataSource(this.dataSource);

            AddressVO addVO = contactHelperLocal.getAddress(invoiceVO.getShipToId());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
          }//if InvoiceVO.shipToId!=null
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(taxRate);
        }catch (Exception e)
        {
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(0.0f);

        }
      }//while


    }//if counter!=0


    if (newItemID != null && !newItemID.equals("") )
      {
        st = new StringTokenizer(newItemID, ",");

        while (st.hasMoreTokens())
        {
          try
          {
          float taxRate = 0.0f;
          token   = (String)st.nextToken();
          int intToken = Integer.parseInt(token);
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,intToken);


          //Get the Required Fields from the Item VO
          String name = item.getItemName();
          String sku = item.getSku();
          float price = (float)item.getPrice();
          int id = item.getItemId();
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;
          if (invoiceVO.getShipToId()!=0)
          {
            try
            {
            ContactHelperLocalHome home2 =( ContactHelperLocalHome)ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home2.create();
            contactHelperLocal.setDataSource(this.dataSource);
            AddressVO addVO = contactHelperLocal.getAddress(invoiceVO.getShipToId());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
            }catch(Exception e)
              {
                System.out.println("[Exception][AccountHelperEJB.calculateInvoiceItems] Exception Thrown: "+e);
                e.printStackTrace();
              }
          }//if shipToId !=null
          //Form the ItemLines
              counter += 1;
              IntMember LineId = new IntMember("LineId",counter,10,"",'T',false,20);
              IntMember ItemId = new IntMember("ItemId",id,10,"",'T',false,20);
              StringMember SKU = new StringMember("SKU",sku,10,"",'T',false);
              StringMember Description = new StringMember("Description",name,10,"",'T',false);
              FloatMember  Quantity = new FloatMember("Quantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PriceEach = new FloatMember("PriceEach",new Float(price),10,"",'T',false,20);
              FloatMember  PriceExtended = new FloatMember("PriceExtended",new Float(0.0f),10,"",'T',false,20);
              FloatMember  UnitTax = new FloatMember("UnitTax",new Float(0.0f),10,"",'T',false,20);
              FloatMember  TaxRate = new FloatMember("UnitTaxrate",new Float(taxRate),10,"",'T',false,20);
              FloatMember  OrderQuantity = new FloatMember("OrderQuantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PendingQuantity = new FloatMember("PendingQuantity",new Float(0.0f),10,"",'T',false,20);


              ItemElement ie = new ItemElement(counter);
              ie.put ("LineId",LineId);
              ie.put ("ItemId",ItemId);
              ie.put ("SKU",SKU);
              ie.put ("Description",Description);
              ie.put ("Quantity",Quantity);
              ie.put ("PriceEach",PriceEach);
              ie.put ("PriceExtended",PriceExtended);
              ie.put ("UnitTax",UnitTax);
              ie.put ("UnitTaxrate",TaxRate);
              ie.put ("OrderQuantity",OrderQuantity);
              ie.put ("PendingQuantity",PendingQuantity);

              ie.setLineStatus("New");

              itemLines.put(new Integer(counter), ie);
          }catch(Exception e)
            {
              System.out.println("[Exception][AccountHelperEJB.calculateInvoiceItems] Exception Thrown: "+e);
              e.printStackTrace();
            }

        }//while

      }//if
  itemLines.calculate();
  invoiceVO.setItemLines(itemLines);
  return invoiceVO;

  }//End of AddItems
View Full Code Here

  {

    StringTokenizer st;
    String token, nextItr;

    ItemLines itemLines = orderVO.getItemLines();

    if(itemLines == null)
    itemLines = new ItemLines();

    int counter = itemLines.size();
    if (counter!=0)
    {
      Set s = itemLines.keySet();
      Iterator itr = s.iterator();
      while(itr.hasNext() )
      {
        float taxRate = 0.0f;

        ItemElement ie = (ItemElement)itemLines.get(itr.next());
        int id = ((Integer)((IntMember)ie.get("ItemId")).getMemberValue()).intValue();
        try
        {
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,id);
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;

          if (orderVO.getShipToAddIdValue()!=0)
          {
            ContactHelperLocalHome home1 = ( ContactHelperLocalHome )ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home1.create();
            contactHelperLocal.setDataSource(this.dataSource);
            AddressVO addVO = contactHelperLocal.getAddress(orderVO.getShipToAddIdValue());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
          }//if InvoiceVO.shipToId!=null
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(taxRate);
        }catch (Exception e)
        {
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(0.0f);
          System.out.println("[Exception][AccountHelperEJB.calculateOrderItems] Exception Thrown: "+e);
        }
      }//while


    }//if counter!=0


    if (newItemID != null && !newItemID.equals("") )
      {
        st = new StringTokenizer(newItemID, ",");

        while (st.hasMoreTokens())
        {
          try
          {
          float taxRate = 0.0f;
          token   = (String)st.nextToken();
          int intToken = Integer.parseInt(token);
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,intToken);


          //Get the Required Fields from the Item VO
          String name = item.getItemName();
          String sku = item.getSku();
          float price = (float)item.getPrice();
          int id = item.getItemId();
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;
          if (orderVO.getShipToAddIdValue()!=0)
          {
            try
            {
            ContactHelperLocalHome home2 =( ContactHelperLocalHome)ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home2.create();
            contactHelperLocal.setDataSource(this.dataSource);
            AddressVO addVO = contactHelperLocal.getAddress(orderVO.getShipToAddIdValue());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
            }catch(Exception e)
              {
                System.out.println("[Exception][AccountHelperEJB.calculateOrderItems] Exception Thrown: "+e);
                e.printStackTrace();
              }
          }//if shipToId !=null
          //Form the ItemLines
              counter += 1;
              IntMember LineId = new IntMember("LineId",counter,10,"",'T',false,20);
              IntMember ItemId = new IntMember("ItemId",id,10,"",'T',false,20);
              StringMember SKU = new StringMember("SKU",sku,10,"",'T',false);
              StringMember Description = new StringMember("Description",name,10,"",'T',false);
              FloatMember  Quantity = new FloatMember("Quantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PriceEach = new FloatMember("PriceEach",new Float(price),10,"",'T',false,20);
              FloatMember  PriceExtended = new FloatMember("PriceExtended",new Float(0.0f),10,"",'T',false,20);
              FloatMember  UnitTax = new FloatMember("UnitTax",new Float(0.0f),10,"",'T',false,20);
              FloatMember  TaxRate = new FloatMember("UnitTaxrate",new Float(taxRate),10,"",'T',false,20);
              FloatMember  OrderQuantity = new FloatMember("OrderQuantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PendingQuantity = new FloatMember("PendingQuantity",new Float(0.0f),10,"",'T',false,20);


              ItemElement ie = new ItemElement(counter);
              ie.put ("LineId",LineId);
              ie.put ("ItemId",ItemId);
              ie.put ("SKU",SKU);
              ie.put ("Description",Description);
              ie.put ("Quantity",Quantity);
              ie.put ("PriceEach",PriceEach);
              ie.put ("PriceExtended",PriceExtended);
              ie.put ("UnitTax",UnitTax);
              ie.put ("UnitTaxrate",TaxRate);
              ie.put ("OrderQuantity",OrderQuantity);
              ie.put ("PendingQuantity",PendingQuantity);

              ie.setLineStatus("New");

              itemLines.put(new Integer(counter), ie);
          }catch(Exception e)
            {
              System.out.println("[Exception][AccountHelperEJB.calculateOrderItems] Exception Thrown: "+e);
              e.printStackTrace();
            }

        }//while

      }//if
    itemLines.calculate();
    orderVO.setItemLines(itemLines);
    return orderVO;

  }//End of AddItems for Order
View Full Code Here

  {

    StringTokenizer st;
    String token, nextItr;

    ItemLines itemLines = purchaseOrderVO.getItemLines();

    if(itemLines == null)
    itemLines = new ItemLines();

    int counter = itemLines.size();
    if (counter!=0)
    {
      Set s = itemLines.keySet();
      Iterator itr = s.iterator();
      while(itr.hasNext() )
      {
        float taxRate = 0.0f;

        ItemElement ie = (ItemElement)itemLines.get(itr.next());
        int id = ((Integer)((IntMember)ie.get("ItemId")).getMemberValue()).intValue();
        try
        {
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,id);
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;
          if (purchaseOrderVO.getShipToId()!=0)
          {
            ContactHelperLocalHome home1 = ( ContactHelperLocalHome )ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home1.create();
            contactHelperLocal.setDataSource(this.dataSource);
            AddressVO addVO = contactHelperLocal.getAddress(purchaseOrderVO.getShipToId());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
          }//if InvoiceVO.shipToId!=null
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(taxRate);
        }catch (Exception e)
        {
          ((FloatMember)ie.get("UnitTaxrate")).setMemberValue(0.0f);
          System.out.println("[Exception][AccountHelperEJB.calculatePurchaseOrderItems] Exception Thrown: "+e);
        }
      }//while


    }//if counter!=0


    if (newItemID != null && !newItemID.equals("") )
      {
        st = new StringTokenizer(newItemID, ",");

        while (st.hasMoreTokens())
        {
          try
          {
          float taxRate = 0.0f;
          token   = (String)st.nextToken();
          int intToken = Integer.parseInt(token);
          InitialContext ic = CVUtility.getInitialContext();
          ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
          ItemLocal itemLocal = home.create();
          itemLocal.setDataSource(this.dataSource);
          ItemVO item = itemLocal.getItem(userId,intToken);


          //Get the Required Fields from the Item VO
          String name = item.getItemName();
          String sku = item.getSku();
          float price = (float)item.getPrice();
          int id = item.getItemId();
          int taxClassId = item.getTaxClassId();
          int taxJurisdictionId = 0;
          if (purchaseOrderVO.getShipToId()!=0)
          {
            try
            {
            ContactHelperLocalHome home2 =( ContactHelperLocalHome)ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home2.create();
            contactHelperLocal.setDataSource(this.dataSource);
            AddressVO addVO = contactHelperLocal.getAddress(purchaseOrderVO.getShipToId());
            taxJurisdictionId = 0;
            if (taxJurisdictionId !=0)
            {
              taxRate = getTax(taxClassId, taxJurisdictionId);
            }//if (taxJurisdictionId !=0)
            }catch(Exception e)
              {
                System.out.println("[Exception][AccountHelperEJB.calculatePurchaseOrderItems] Exception Thrown: "+e);
                e.printStackTrace();
              }
          }//if shipToId !=null
          //Form the ItemLines
              counter += 1;
              IntMember LineId = new IntMember("LineId",counter,10,"",'T',false,20);
              IntMember ItemId = new IntMember("ItemId",id,10,"",'T',false,20);
              StringMember SKU = new StringMember("SKU",sku,10,"",'T',false);
              StringMember Description = new StringMember("Description",name,10,"",'T',false);
              FloatMember  Quantity = new FloatMember("Quantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PriceEach = new FloatMember("PriceEach",new Float(price),10,"",'T',false,20);
              FloatMember  PriceExtended = new FloatMember("PriceExtended",new Float(0.0f),10,"",'T',false,20);
              FloatMember  UnitTax = new FloatMember("UnitTax",new Float(0.0f),10,"",'T',false,20);
              FloatMember  TaxRate = new FloatMember("UnitTaxrate",new Float(taxRate),10,"",'T',false,20);
              FloatMember  OrderQuantity = new FloatMember("OrderQuantity",new Float(1.0f),10,"",'T',false,20);
              FloatMember  PendingQuantity = new FloatMember("PendingQuantity",new Float(0.0f),10,"",'T',false,20);


              ItemElement ie = new ItemElement(counter);
              ie.put ("LineId",LineId);
              ie.put ("ItemId",ItemId);
              ie.put ("SKU",SKU);
              ie.put ("Description",Description);
              ie.put ("Quantity",Quantity);
              ie.put ("PriceEach",PriceEach);
              ie.put ("PriceExtended",PriceExtended);
              ie.put ("UnitTax",UnitTax);
              ie.put ("UnitTaxrate",TaxRate);
              ie.put ("OrderQuantity",OrderQuantity);
              ie.put ("PendingQuantity",PendingQuantity);

              ie.setLineStatus("New");

              itemLines.put(new Integer(counter), ie);
          }catch(Exception e)
            {
              System.out.println("[Exception][AccountHelperEJB.calculatePurchaseOrderItems] Exception Thrown: "+e);
              e.printStackTrace();
            }

        }//while

      }//if
  itemLines.calculate();
  purchaseOrderVO.setItemLines(itemLines);
  return purchaseOrderVO;

}//End of AddItems for PurchaseOrder
View Full Code Here

TOP

Related Classes of com.centraview.account.common.ItemLines

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.