From 33d1f42ff2e7a58d6d8f0d3961c365125ec182c8 Mon Sep 17 00:00:00 2001 From: pbarros Date: Fri, 13 Jan 2012 17:22:38 -0200 Subject: [PATCH] =?utf8?q?adicionado=20classes=20definidas=20por=20marta=20e?= =?utf8?q?=20cecilia,=20que=20ser=C3=A3o=20utilizadas=20no=20agente=20mediad?= =?utf8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../simdecs/entidade/ArgumentosPedagogicos.java | 80 ++++++++++++++++++++ .../simdecs/entidade/ProblemasPrincipais.java | 80 ++++++++++++++++++++ .../org/ufcspa/simdecs/entidade/RedeAluno.java | 80 ++++++++++++++++++++ .../ufcspa/simdecs/entidade/TaticasMediador.java | 80 ++++++++++++++++++++ 4 files changed, 320 insertions(+), 0 deletions(-) create mode 100644 src/java/org/ufcspa/simdecs/entidade/ArgumentosPedagogicos.java create mode 100644 src/java/org/ufcspa/simdecs/entidade/ProblemasPrincipais.java create mode 100644 src/java/org/ufcspa/simdecs/entidade/RedeAluno.java create mode 100644 src/java/org/ufcspa/simdecs/entidade/TaticasMediador.java diff --git a/src/java/org/ufcspa/simdecs/entidade/ArgumentosPedagogicos.java b/src/java/org/ufcspa/simdecs/entidade/ArgumentosPedagogicos.java new file mode 100644 index 0000000..0322dc8 --- /dev/null +++ b/src/java/org/ufcspa/simdecs/entidade/ArgumentosPedagogicos.java @@ -0,0 +1,80 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.ufcspa.simdecs.entidade; + +import java.io.Serializable; +import java.util.Date; +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * + * @author pbarros + */ +@Entity +@Table(name="RespostaMediador") +public class RespostaMediador implements Serializable { + private static final long serialVersionUID = 1L; + + @SequenceGenerator(name="seqRespMediador", sequenceName="SQRESPM") + @GeneratedValue(strategy=GenerationType.AUTO, generator="seqRespMediador") + @Id + private Long id; + + @Column(length=255) + private String resposta; + + + @Column(length=255) + private String endArquivo; + + @Column + private Long idUsuario; + + @Column (nullable=true) + @Temporal(TemporalType.DATE) + private Date dataResposta; + + + + public Long getId() { return this.id; } + public void setId(Long id) { this.id = id; } + public String getNome() { return this.resposta; } + public void setNome(String name) { this.resposta = resposta; } + public String getEndArquivo() { return this.endArquivo; } + public void setEndArquivo(String endArquivo) { this.endArquivo = endArquivo; } + public Long getIdUsuario() { return this.idUsuario; } + public void setIdUsuario(Long idUsuario) { this.idUsuario = idUsuario; } + public Date getDataResposta() { return this.dataResposta; } + public void setDataResposta(Date dataResposta) { this.dataResposta = dataResposta; } + + + @Override + public int hashCode() { + int hash = 0; + hash += (id != null ? id.hashCode() : 0); + return hash; + } + + @Override + public boolean equals(Object object) { + // TODO: Warning - this method won't work in the case the id fields are not set + if (!(object instanceof RespostaMediador)) { + return false; + } + RespostaMediador other = (RespostaMediador) object; + if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { + return false; + } + return true; + } + + @Override + public String toString() { + return "org.ufcspa.simdecs.entidade.RespostaMediador[ id=" + id + " ]"; + } + +} diff --git a/src/java/org/ufcspa/simdecs/entidade/ProblemasPrincipais.java b/src/java/org/ufcspa/simdecs/entidade/ProblemasPrincipais.java new file mode 100644 index 0000000..0322dc8 --- /dev/null +++ b/src/java/org/ufcspa/simdecs/entidade/ProblemasPrincipais.java @@ -0,0 +1,80 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.ufcspa.simdecs.entidade; + +import java.io.Serializable; +import java.util.Date; +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * + * @author pbarros + */ +@Entity +@Table(name="RespostaMediador") +public class RespostaMediador implements Serializable { + private static final long serialVersionUID = 1L; + + @SequenceGenerator(name="seqRespMediador", sequenceName="SQRESPM") + @GeneratedValue(strategy=GenerationType.AUTO, generator="seqRespMediador") + @Id + private Long id; + + @Column(length=255) + private String resposta; + + + @Column(length=255) + private String endArquivo; + + @Column + private Long idUsuario; + + @Column (nullable=true) + @Temporal(TemporalType.DATE) + private Date dataResposta; + + + + public Long getId() { return this.id; } + public void setId(Long id) { this.id = id; } + public String getNome() { return this.resposta; } + public void setNome(String name) { this.resposta = resposta; } + public String getEndArquivo() { return this.endArquivo; } + public void setEndArquivo(String endArquivo) { this.endArquivo = endArquivo; } + public Long getIdUsuario() { return this.idUsuario; } + public void setIdUsuario(Long idUsuario) { this.idUsuario = idUsuario; } + public Date getDataResposta() { return this.dataResposta; } + public void setDataResposta(Date dataResposta) { this.dataResposta = dataResposta; } + + + @Override + public int hashCode() { + int hash = 0; + hash += (id != null ? id.hashCode() : 0); + return hash; + } + + @Override + public boolean equals(Object object) { + // TODO: Warning - this method won't work in the case the id fields are not set + if (!(object instanceof RespostaMediador)) { + return false; + } + RespostaMediador other = (RespostaMediador) object; + if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { + return false; + } + return true; + } + + @Override + public String toString() { + return "org.ufcspa.simdecs.entidade.RespostaMediador[ id=" + id + " ]"; + } + +} diff --git a/src/java/org/ufcspa/simdecs/entidade/RedeAluno.java b/src/java/org/ufcspa/simdecs/entidade/RedeAluno.java new file mode 100644 index 0000000..0322dc8 --- /dev/null +++ b/src/java/org/ufcspa/simdecs/entidade/RedeAluno.java @@ -0,0 +1,80 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.ufcspa.simdecs.entidade; + +import java.io.Serializable; +import java.util.Date; +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * + * @author pbarros + */ +@Entity +@Table(name="RespostaMediador") +public class RespostaMediador implements Serializable { + private static final long serialVersionUID = 1L; + + @SequenceGenerator(name="seqRespMediador", sequenceName="SQRESPM") + @GeneratedValue(strategy=GenerationType.AUTO, generator="seqRespMediador") + @Id + private Long id; + + @Column(length=255) + private String resposta; + + + @Column(length=255) + private String endArquivo; + + @Column + private Long idUsuario; + + @Column (nullable=true) + @Temporal(TemporalType.DATE) + private Date dataResposta; + + + + public Long getId() { return this.id; } + public void setId(Long id) { this.id = id; } + public String getNome() { return this.resposta; } + public void setNome(String name) { this.resposta = resposta; } + public String getEndArquivo() { return this.endArquivo; } + public void setEndArquivo(String endArquivo) { this.endArquivo = endArquivo; } + public Long getIdUsuario() { return this.idUsuario; } + public void setIdUsuario(Long idUsuario) { this.idUsuario = idUsuario; } + public Date getDataResposta() { return this.dataResposta; } + public void setDataResposta(Date dataResposta) { this.dataResposta = dataResposta; } + + + @Override + public int hashCode() { + int hash = 0; + hash += (id != null ? id.hashCode() : 0); + return hash; + } + + @Override + public boolean equals(Object object) { + // TODO: Warning - this method won't work in the case the id fields are not set + if (!(object instanceof RespostaMediador)) { + return false; + } + RespostaMediador other = (RespostaMediador) object; + if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { + return false; + } + return true; + } + + @Override + public String toString() { + return "org.ufcspa.simdecs.entidade.RespostaMediador[ id=" + id + " ]"; + } + +} diff --git a/src/java/org/ufcspa/simdecs/entidade/TaticasMediador.java b/src/java/org/ufcspa/simdecs/entidade/TaticasMediador.java new file mode 100644 index 0000000..0322dc8 --- /dev/null +++ b/src/java/org/ufcspa/simdecs/entidade/TaticasMediador.java @@ -0,0 +1,80 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.ufcspa.simdecs.entidade; + +import java.io.Serializable; +import java.util.Date; +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * + * @author pbarros + */ +@Entity +@Table(name="RespostaMediador") +public class RespostaMediador implements Serializable { + private static final long serialVersionUID = 1L; + + @SequenceGenerator(name="seqRespMediador", sequenceName="SQRESPM") + @GeneratedValue(strategy=GenerationType.AUTO, generator="seqRespMediador") + @Id + private Long id; + + @Column(length=255) + private String resposta; + + + @Column(length=255) + private String endArquivo; + + @Column + private Long idUsuario; + + @Column (nullable=true) + @Temporal(TemporalType.DATE) + private Date dataResposta; + + + + public Long getId() { return this.id; } + public void setId(Long id) { this.id = id; } + public String getNome() { return this.resposta; } + public void setNome(String name) { this.resposta = resposta; } + public String getEndArquivo() { return this.endArquivo; } + public void setEndArquivo(String endArquivo) { this.endArquivo = endArquivo; } + public Long getIdUsuario() { return this.idUsuario; } + public void setIdUsuario(Long idUsuario) { this.idUsuario = idUsuario; } + public Date getDataResposta() { return this.dataResposta; } + public void setDataResposta(Date dataResposta) { this.dataResposta = dataResposta; } + + + @Override + public int hashCode() { + int hash = 0; + hash += (id != null ? id.hashCode() : 0); + return hash; + } + + @Override + public boolean equals(Object object) { + // TODO: Warning - this method won't work in the case the id fields are not set + if (!(object instanceof RespostaMediador)) { + return false; + } + RespostaMediador other = (RespostaMediador) object; + if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { + return false; + } + return true; + } + + @Override + public String toString() { + return "org.ufcspa.simdecs.entidade.RespostaMediador[ id=" + id + " ]"; + } + +} -- 1.7.6.4