Examples of Evento


Examples of br.com.aeroboteco.model.Evento

        pv.getLog().add(evento);
        carrega();
        fireTableDataChanged();
    }
    public void addEvento(String evento){
        pv.getLog().add(new Evento(evento));
        carrega();
        fireTableDataChanged();
    }
View Full Code Here

Examples of br.com.aeroboteco.model.Evento

        DecimalFormat df = new DecimalFormat("0.00");
        jtxtDepArr.setText(pv.getDep() + "~" + pv.getArr());
        jtxtDistancia.setText(df.format(uipc.arredondar(Geo.getKmEmNm(Geo.getDistancia(this.coordDep[0], this.coordDep[1], this.coordArr[0], this.coordArr[1])))).replaceAll(",", ".")+"nm");

        logTM.addEvento(new Evento("","PV enviado: " + pv.getBto() + " " + pv.getDep() + "/" + pv.getArr()));
        logTM.addEvento(new Evento("","Aircraft Type: " + pv.getAcft()));
       
        //if (pv.getTour() != 0) {
        //    logTM.addEvento(new Evento("","Route: " + pv.getRoute() + " TOUR/"+pv.getTour()));
        //}else{
        //    logTM.addEvento(new Evento("","Route: " + pv.getRoute()));
        //}
        logTM.addEvento(new Evento("","Tour: "+pv.getTour()));
        logTM.addEvento(new Evento("","Route: " + pv.getRoute()));
        logTM.addEvento(new Evento("","BtoAcars v"+java.util.ResourceBundle.getBundle("br.com.aeroboteco.model.BtoProp").getString("versao").toString()));


        jbParar.setEnabled(true);
        jbEnviar.setEnabled(false);
        jbSalvar.setEnabled(false);
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

   
    Colaborador colaborador = new Colaborador();
   

    List<Evento> eventos = new ArrayList<Evento>();
    eventos.add(new Evento());
   
    Date dataInicial = new Date();
    Date dataFinal = new Date();
   
    when(
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

   
 
 
  @Test(expected=IllegalArgumentException.class)
  public void deveLancarExcecaoQuandoColaboradorNuloAdicionarEvento() {
    agendaServiceBean.adicionarEvento(null, new Evento());
  }
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

 
  @Test
  public void deveLancarAdicionarEventoQuandoParamentrosValidos() {
   
    Evento evento = new Evento();
   
    when(
      enventoDao.salvar(evento)
    ).thenReturn(evento);
   
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

 
  @Test
  public void deverAtualizarEventoQuandoParamentrosValidosAtualizarEvento() {
   
   
    Evento evento = new Evento();
   
    when(
      enventoDao.atualizar(evento)
    ).thenReturn(evento);
   
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

   
    Agenda g = new Agenda();
    g.setId(2L);
   
    c.setAgenda(g);
    Evento e =
        eventoAdapter.getEvento();
   
    if(e.getId() == null){
      agendaService.adicionarEvento(c, eventoAdapter.getEvento());     
    }else{
      agendaService.atualizarEvento(e);
    }
  }
View Full Code Here

Examples of br.com.lawoffice.dominio.Evento

      this.idAgenda = idAgenda;
    }


    public Evento getEvento() {
      Evento evento =
        new Evento(
          getTitle(),
          getStartDate(),
          getEndDate()
        );

      Agenda agenda = new Agenda();
      agenda.setId(getIdAgenda());
     
      evento.setId(getIdEvento());
      evento.setAgenda(agenda);
 
      return evento;
    }
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Evento

        return movimentacaoBC.findAll(evento);
    }

    public Evento getEvento() {
        if(this.evento == null) {
            this.evento = new Evento();
            if(this.id.getValue() != null)
                this.evento = eventoBC.load(this.id.getValue());
        }
        return evento;
    }
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Evento

        return entradaAgendaBC.findAll(evento);
    }

    public Evento getEvento() {
        if(this.evento == null) {
            this.evento = new Evento();
            if(this.id.getValue() != null)
                this.evento = eventoBC.load(this.id.getValue());
        }
        return evento;
    }
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.