Exemple #1
0
  private void jButton3ActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton3ActionPerformed
    // TODO add your handling code here:
    try {
      Registro r = new Registro();
      r.setVisible(true);
      this.setVisible(false);
    } catch (CadenaVacia | ErrorConexionBd | FechaErronea | NumeroIncorrecto | ObjetoVacio e) {

    }
  } // GEN-LAST:event_jButton3ActionPerformed
  public void init() {

    if (solicitante == null) solicitante = new Solicitante();
    else solicitante.init();

    if (documentacion == null) documentacion = new Documentacion();
    else documentacion.init();

    if (documentacionProceso == null) documentacionProceso = new Documentacion();
    else documentacionProceso.init();

    if (documentacionAportada == null) documentacionAportada = new Documentacion();
    else documentacionAportada.init();

    if (registro == null) registro = new Registro();
    else registro.init();

    if (expedientePlatino == null) expedientePlatino = new ExpedientePlatino();
    else expedientePlatino.init();

    if (expedienteAed == null) expedienteAed = new ExpedienteAed();
    else expedienteAed.init();

    if (aportaciones == null) aportaciones = new Aportaciones();
    else aportaciones.init();

    if (verificacion == null) verificacion = new Verificacion();
    else verificacion.init();
  }
Exemple #3
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof Registro)) return false;
   Registro other = (Registro) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       super.equals(obj)
           && ((this.EMail == null && other.getEMail() == null)
               || (this.EMail != null && this.EMail.equals(other.getEMail())))
           && ((this.additionalInfo == null && other.getAdditionalInfo() == null)
               || (this.additionalInfo != null
                   && this.additionalInfo.equals(other.getAdditionalInfo())))
           && ((this.addressee == null && other.getAddressee() == null)
               || (this.addressee != null && this.addressee.equals(other.getAddressee())))
           && ((this.adittionalInfo == null && other.getAdittionalInfo() == null)
               || (this.adittionalInfo != null
                   && this.adittionalInfo.equals(other.getAdittionalInfo())))
           && ((this.effectiveDate == null && other.getEffectiveDate() == null)
               || (this.effectiveDate != null
                   && this.effectiveDate.equals(other.getEffectiveDate())))
           && ((this.name == null && other.getName() == null)
               || (this.name != null && this.name.equals(other.getName())))
           && ((this.numeroExpediente == null && other.getNumeroExpediente() == null)
               || (this.numeroExpediente != null
                   && this.numeroExpediente.equals(other.getNumeroExpediente())))
           && ((this.oficina == null && other.getOficina() == null)
               || (this.oficina != null && this.oficina.equals(other.getOficina())))
           && ((this.registryDate == null && other.getRegistryDate() == null)
               || (this.registryDate != null && this.registryDate.equals(other.getRegistryDate())))
           && ((this.registryNumber == null && other.getRegistryNumber() == null)
               || (this.registryNumber != null
                   && this.registryNumber.equals(other.getRegistryNumber())))
           && ((this.representedId == null && other.getRepresentedId() == null)
               || (this.representedId != null
                   && this.representedId.equals(other.getRepresentedId())))
           && ((this.representedName == null && other.getRepresentedName() == null)
               || (this.representedName != null
                   && this.representedName.equals(other.getRepresentedName())))
           && ((this.senderId == null && other.getSenderId() == null)
               || (this.senderId != null && this.senderId.equals(other.getSenderId())))
           && ((this.senderIdType == null && other.getSenderIdType() == null)
               || (this.senderIdType != null && this.senderIdType.equals(other.getSenderIdType())))
           && ((this.status == null && other.getStatus() == null)
               || (this.status != null && this.status.equals(other.getStatus())))
           && ((this.topic == null && other.getTopic() == null)
               || (this.topic != null && this.topic.equals(other.getTopic())));
   __equalsCalc = null;
   return _equals;
 }