All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.objectos.jabuticava.serasa.relato.factoring.TempoRelacionamentoBuilderPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.jabuticava.serasa.relato.factoring;

import br.com.objectos.jabuticava.br.CadastroRFB;
import java.time.LocalDate;
import javax.annotation.Generated;

@Generated({
    "br.com.objectos.way.io.flat.FlatRecordPlugin$ThisBuilderPropertyAction",
    "br.com.objectos.way.pojo.compiler.PojoCompiler"
})
final class TempoRelacionamentoBuilderPojo implements TempoRelacionamentoBuilder, TempoRelacionamentoBuilder.TempoRelacionamentoBuilderCadastroSacado, TempoRelacionamentoBuilder.TempoRelacionamentoBuilderTipo, TempoRelacionamentoBuilder.TempoRelacionamentoBuilderClienteDesde, TempoRelacionamentoBuilder.TempoRelacionamentoBuilderTipoCliente {
  private CadastroRFB cadastroSacado;

  private TempoRelacionamentoTipo tipo;

  private LocalDate clienteDesde;

  private TipoCliente tipoCliente;

  public TempoRelacionamentoBuilderPojo() {
  }

  @Override
  public TempoRelacionamento build() {
    return new TempoRelacionamentoPojo(this);
  }

  @Override
  public TempoRelacionamentoBuilder.TempoRelacionamentoBuilderCadastroSacado cadastroSacado(CadastroRFB cadastroSacado) {
    if (cadastroSacado == null) {
      throw new NullPointerException();
    }
    this.cadastroSacado = cadastroSacado;
    return this;
  }

  CadastroRFB ___get___cadastroSacado() {
    return cadastroSacado;
  }

  @Override
  public TempoRelacionamentoBuilder.TempoRelacionamentoBuilderTipo tipo(TempoRelacionamentoTipo tipo) {
    if (tipo == null) {
      throw new NullPointerException();
    }
    this.tipo = tipo;
    return this;
  }

  TempoRelacionamentoTipo ___get___tipo() {
    return tipo;
  }

  @Override
  public TempoRelacionamentoBuilder.TempoRelacionamentoBuilderClienteDesde clienteDesde(LocalDate clienteDesde) {
    if (clienteDesde == null) {
      throw new NullPointerException();
    }
    this.clienteDesde = clienteDesde;
    return this;
  }

  LocalDate ___get___clienteDesde() {
    return clienteDesde;
  }

  @Override
  public TempoRelacionamentoBuilder.TempoRelacionamentoBuilderTipoCliente tipoCliente(TipoCliente tipoCliente) {
    if (tipoCliente == null) {
      throw new NullPointerException();
    }
    this.tipoCliente = tipoCliente;
    return this;
  }

  TipoCliente ___get___tipoCliente() {
    return tipoCliente;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy