Bladeren bron

Eliminadas clases sin uso

Mario Martínez Hernández 2 maanden geleden
bovenliggende
commit
9fe95bacfb

+ 0 - 22
src/main/java/es/uv/saic/config/SchedulerConfig.java

@@ -1,22 +0,0 @@
-package es.uv.saic.config;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.scheduling.annotation.SchedulingConfigurer;
-import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
-import org.springframework.scheduling.config.ScheduledTaskRegistrar;
-
-@Configuration
-public class SchedulerConfig implements SchedulingConfigurer {
-    private final int POOL_SIZE = 10;
-
-    @Override
-    public void configureTasks(ScheduledTaskRegistrar scheduledTaskRegistrar) {
-        ThreadPoolTaskScheduler threadPoolTaskScheduler = new ThreadPoolTaskScheduler();
-
-        threadPoolTaskScheduler.setPoolSize(this.POOL_SIZE);
-        threadPoolTaskScheduler.setThreadNamePrefix("saic-mailer-");
-        threadPoolTaskScheduler.initialize();
-
-        scheduledTaskRegistrar.setTaskScheduler(threadPoolTaskScheduler);
-    }
-}

+ 0 - 235
src/main/java/es/uv/saic/domain/IndicadorEnquesta.java

@@ -1,235 +0,0 @@
-package es.uv.saic.domain;
-
-import java.time.LocalDateTime;
-
-import jakarta.persistence.Column;
-import jakarta.persistence.Entity;
-import jakarta.persistence.GeneratedValue;
-import jakarta.persistence.GenerationType;
-import jakarta.persistence.Id;
-import jakarta.persistence.NamedQuery;
-import jakarta.persistence.Table;
-
-@Entity
-@Table(name="indicador_enquesta")
-@NamedQuery(name="IndicadorEnquesta.findAll", query="SELECT n FROM IndicadorEnquesta n")
-public class IndicadorEnquesta {
- 
-	@Id 
-	@GeneratedValue(strategy = GenerationType.IDENTITY)
-	@Column(name="id", updatable = false, nullable = false)
-	private Integer id;
-	private String valor;
-	private String num;
-	private Integer titulacio;
-	private Integer centre;
-	private Integer curs;
-	private String enquesta;
-	private String indicador;
-	private String ambit;
-	private String tipus;
-	private String estudi;
-	private String cursd;
-	private String cursEnquesta;
-	private String centreOrigen;
-	private String titulacioOrigen;
-	private Integer nenq;
-	private Integer ruct;
-	private LocalDateTime data;
-	
-	public IndicadorEnquesta(){}
-	
-	public Integer getId() {
-		return id;
-	}
-	
-	public void setId(Integer id) {
-		this.id = id;
-	}
-	
-	public Integer getTitulacio() {
-		return titulacio;
-	}
-
-	public void setTitulacio(Integer titulacio) {
-		this.titulacio = titulacio;
-	}
-	
-	public Integer getCentre() {
-		return centre;
-	}
-
-	public void setCentre(Integer centre) {
-		this.centre = centre;
-	}
-
-	public Integer getCurs() {
-		return curs;
-	}
-
-	public void setCurs(Integer curs) {
-		this.curs = curs;
-	}
-
-	public String getEnquesta() {
-		return enquesta;
-	}
-
-	public void setEnquesta(String enquesta) {
-		this.enquesta = enquesta;
-	}
-
-	public String getIndicador() {
-		return indicador;
-	}
-
-	public void setIndicador(String indicador) {
-		this.indicador = indicador;
-	}
-	
-	public String getValor() {
-		return valor;
-	}
-	
-	public void setValor(String valor) {
-		this.valor = valor;
-	}
-	
-	public String getNum() {
-		return num;
-	}
-	
-	public void setNum(String num) {
-		this.num = num;
-	}
-	
-	public String getAmbit() {
-		return ambit;
-	}
-	
-	public void setAmbit(String ambit) {
-		this.ambit = ambit;
-	}
-	
-	public String getTipus() {
-		return tipus;
-	}
-	
-	public void setTipus(String tipus) {
-		this.tipus = tipus;
-	}
-	
-	public String getEstudi() {
-		return estudi;
-	}
-	
-	public void setEstudi(String estudi) {
-		this.estudi = estudi;
-	}
-	
-	public String getCursd() {
-		return cursd;
-	}
-	
-	public void setCursd(String cursd) {
-		this.cursd = cursd;
-	}
-	
-	public String getCursEnquesta() {
-		return cursEnquesta;
-	}
-
-	public void setCursEnquesta(String cursEnquesta) {
-		this.cursEnquesta = cursEnquesta;
-	}
-
-	public String getCentreOrigen() {
-		return centreOrigen;
-	}
-
-	public void setCentreOrigen(String centreOrigen) {
-		this.centreOrigen = centreOrigen;
-	}
-
-	public String getTitulacioOrigen() {
-		return titulacioOrigen;
-	}
-
-	public void setTitulacioOrigen(String titulacioOrigen) {
-		this.titulacioOrigen = titulacioOrigen;
-	}
-
-	public Integer getNenq() {
-		return nenq;
-	}
-
-	public void setNenq(Integer nenq) {
-		this.nenq = nenq;
-	}
-
-	public Integer getRuct() {
-		return ruct;
-	}
-
-	public void setRuct(Integer ruct) {
-		this.ruct = ruct;
-	}
-
-	public LocalDateTime getData() {
-		return data;
-	}
-
-	public void setData(LocalDateTime data) {
-		this.data = data;
-	}
-	
-	public boolean equals(Object other) {
-		if (this == other) {
-			return true;
-		}
-		if (!(other instanceof IndicadorEnquesta)) {
-			return false;
-		}
-		IndicadorEnquesta castOther = (IndicadorEnquesta)other;
-		return 
-			this.id.equals(castOther.id) &&
-			this.valor.equals(castOther.valor) &&
-			this.num.equals(castOther.num) &&
-			this.centre.equals(castOther.centre) &&
-			this.titulacio.equals(castOther.titulacio) &&
-			this.curs.equals(castOther.curs) &&
-			this.ambit.equals(castOther.ambit) &&
-			this.enquesta.equals(castOther.enquesta) &&
-			this.indicador.equals(castOther.indicador) &&
-			this.cursd.equals(castOther.cursd) &&
-			this.cursEnquesta.equals(castOther.cursEnquesta) &&
-			this.titulacioOrigen.equals(castOther.titulacioOrigen) &&
-			this.centreOrigen.equals(castOther.centreOrigen) &&
-			this.nenq.equals(castOther.nenq) &&
-			this.ruct.equals(castOther.ruct)&&
-			this.data.equals(castOther.data);
-	}
-
-	public int hashCode() {
-		final int prime = 31;
-		int hash = 17;
-		hash = hash * prime + this.id.hashCode();
-		hash = hash * prime + this.valor.hashCode();
-		hash = hash * prime + this.num.hashCode();
-		hash = hash * prime + this.centre.hashCode();
-		hash = hash * prime + this.titulacio.hashCode();
-		hash = hash * prime + this.curs.hashCode();
-		hash = hash * prime + this.ambit.hashCode();
-		hash = hash * prime + this.enquesta.hashCode();
-		hash = hash * prime + this.indicador.hashCode();
-		hash = hash * prime + this.cursd.hashCode();
-		hash = hash * prime + this.cursEnquesta.hashCode();
-		hash = hash * prime + this.titulacioOrigen.hashCode();
-		hash = hash * prime + this.centreOrigen.hashCode();
-		hash = hash * prime + this.nenq.hashCode();
-		hash = hash * prime + this.ruct.hashCode();
-		hash = hash * prime + this.data.hashCode();
-		
-		return hash;
-	}
-}

+ 0 - 53
src/main/java/es/uv/saic/dto/EnquestaDTO.java

@@ -1,53 +0,0 @@
-package es.uv.saic.dto;
-
-public class EnquestaDTO {
-    String enquesta;
-    Integer curs;
-    String ambit;
-    String estudi;
-    Integer centre;
-    Integer titulacio;
-
-    public EnquestaDTO() {};
-    
-    public EnquestaDTO(String enquesta, Integer curs, String ambit, String estudi,
-        Integer centre, Integer titulacio) {
-            this.enquesta = enquesta;
-            this.curs = curs;
-            this.ambit = ambit;
-            this.estudi = estudi;
-            this.centre = centre;
-            this.titulacio = titulacio;
-    }
-
-    public EnquestaDTO(String enquesta, Integer curs, String ambit, String estudi) {
-        this.enquesta = enquesta;
-        this.curs = curs;
-        this.ambit = ambit;
-        this.estudi = estudi;
-    }
-
-    public String getEnquesta() {
-        return this.enquesta;
-    }
-
-    public Integer getCurs() {
-        return this.curs;
-    }
-
-    public String getAmbit() {
-        return this.ambit;
-    }
-
-    public String getEstudi() {
-        return this.estudi;
-    }
-
-    public Integer getCentre() {
-        return this.centre;
-    }
-
-    public Integer getTitulacio() {
-        return this.titulacio;
-    }
-}