/branches/v3/impl/src/java/jomm/dao/utils/JommSchemaUpdateTask.java |
---|
New file |
0,0 → 1,172 |
package jomm.dao.utils; |
import org.apache.tools.ant.BuildException; |
import org.apache.tools.ant.DirectoryScanner; |
import org.apache.tools.ant.Project; |
import org.apache.tools.ant.taskdefs.MatchingTask; |
import org.apache.tools.ant.types.FileSet; |
import org.hibernate.HibernateException; |
import org.hibernate.cfg.Configuration; |
import org.hibernate.cfg.NamingStrategy; |
import org.hibernate.tool.hbm2ddl.SchemaUpdate; |
import org.hibernate.util.ArrayHelper; |
import org.hibernate.util.ReflectHelper; |
import java.io.File; |
import java.io.FileInputStream; |
import java.io.FileNotFoundException; |
import java.io.IOException; |
import java.util.Iterator; |
import java.util.LinkedList; |
import java.util.List; |
import java.util.Properties; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class JommSchemaUpdateTask extends MatchingTask |
{ |
private List fileSets = new LinkedList(); |
private File propertiesFile = null; |
private File configurationFile = null; |
private boolean quiet = false; |
private boolean text = true; |
private String namingStrategy = null; |
public void addFileset(FileSet set) { |
fileSets.add(set); |
} |
/** |
* Set a properties file |
* @param propertiesFile the properties file name |
*/ |
public void setProperties(File propertiesFile) { |
if ( !propertiesFile.exists() ) { |
throw new BuildException("Properties file: " + propertiesFile + " does not exist."); |
} |
log("Using properties file " + propertiesFile, Project.MSG_DEBUG); |
this.propertiesFile = propertiesFile; |
} |
/** |
* Set a <literal>.cfg.xml</literal> file |
* @param configurationFile the file name |
*/ |
public void setConfig(File configurationFile) { |
this.configurationFile = configurationFile; |
} |
/** |
* Enable "text-only" mode. The schema will not |
* be updated in the database. |
* @param text true to enable text-only mode |
*/ |
public void setText(boolean text) { |
this.text = text; |
} |
/** |
* Enable "quiet" mode. The schema will not be |
* written to standard out. |
* @param quiet true to enable quiet mode |
*/ |
public void setQuiet(boolean quiet) { |
this.quiet = quiet; |
} |
/** |
* Execute the task |
*/ |
public void execute() throws BuildException { |
try { |
log("Running Hibernate Core SchemaUpdate."); |
log("This is an Ant task supporting only mapping files, if you want to use annotations see http://tools.hibernate.org."); |
Configuration cfg = getConfiguration(); |
getSchemaUpdate(cfg).execute(!quiet, !text); |
} |
catch (HibernateException e) { |
throw new BuildException("Schema text failed: " + e.getMessage(), e); |
} |
catch (FileNotFoundException e) { |
throw new BuildException("File not found: " + e.getMessage(), e); |
} |
catch (IOException e) { |
throw new BuildException("IOException : " + e.getMessage(), e); |
} |
catch (Exception e) { |
throw new BuildException(e); |
} |
} |
private String[] getFiles() { |
List files = new LinkedList(); |
for ( Iterator i = fileSets.iterator(); i.hasNext(); ) { |
FileSet fs = (FileSet) i.next(); |
DirectoryScanner ds = fs.getDirectoryScanner( getProject() ); |
String[] dsFiles = ds.getIncludedFiles(); |
for (int j = 0; j < dsFiles.length; j++) { |
File f = new File(dsFiles[j]); |
if ( !f.isFile() ) { |
f = new File( ds.getBasedir(), dsFiles[j] ); |
} |
files.add( f.getAbsolutePath() ); |
} |
} |
return ArrayHelper.toStringArray(files); |
} |
private Configuration getConfiguration() throws Exception { |
//TODO HACKED LINE JORGE |
Configuration cfg = new JommConfiguration(); |
//FINAL DO HACK |
if (namingStrategy!=null) { |
cfg.setNamingStrategy( |
(NamingStrategy) ReflectHelper.classForName(namingStrategy).newInstance() |
); |
} |
if (configurationFile!=null) { |
cfg.configure( configurationFile ); |
} |
String[] files = getFiles(); |
for (int i = 0; i < files.length; i++) { |
String filename = files[i]; |
if ( filename.endsWith(".jar") ) { |
cfg.addJar( new File(filename) ); |
} |
else { |
cfg.addFile(filename); |
} |
} |
return cfg; |
} |
private SchemaUpdate getSchemaUpdate(Configuration cfg) throws HibernateException, IOException { |
Properties properties = new Properties(); |
properties.putAll( cfg.getProperties() ); |
if (propertiesFile == null) { |
properties.putAll( getProject().getProperties() ); |
} |
else { |
properties.load( new FileInputStream(propertiesFile) ); |
} |
cfg.setProperties(properties); |
return new SchemaUpdate(cfg); |
} |
public void setNamingStrategy(String namingStrategy) { |
this.namingStrategy = namingStrategy; |
} |
} |
/branches/v3/impl/src/java/jomm/dao/utils/JommConfiguration.java |
---|
New file |
0,0 → 1,255 |
package jomm.dao.utils; |
import org.apache.commons.logging.Log; |
import org.apache.commons.logging.LogFactory; |
import org.hibernate.HibernateException; |
import org.hibernate.MappingException; |
import org.hibernate.cfg.Configuration; |
import org.hibernate.cfg.Environment; |
import org.hibernate.dialect.Dialect; |
import org.hibernate.dialect.MySQLDialect; |
import org.hibernate.engine.Mapping; |
import org.hibernate.id.IdentifierGenerator; |
import org.hibernate.id.PersistentIdentifierGenerator; |
import org.hibernate.mapping.*; |
import org.hibernate.tool.hbm2ddl.DatabaseMetadata; |
import org.hibernate.tool.hbm2ddl.IndexMetadata; |
import org.hibernate.tool.hbm2ddl.TableMetadata; |
import org.hibernate.util.ArrayHelper; |
import java.lang.reflect.Field; |
import java.util.ArrayList; |
import java.util.Iterator; |
import java.util.TreeMap; |
/** |
* Created by jorgemachado on 05/11/16. |
* |
* Esta Classe foi adicionada e foram copiados os dois primeiros metodos |
* O metodo getMapping é novo para ser possivel obter os mapas |
* A variavel properties foi substituida por getProperties e a var mapping por getMapping |
* Foi adicionada a linha de Hack para adicionar indices caso não existam |
*/ |
public class JommConfiguration extends Configuration |
{ |
private static Log log = LogFactory.getLog(Configuration.class); |
/** |
* Generate DDL for altering tables |
* |
* @see org.hibernate.tool.hbm2ddl.SchemaUpdate |
*/ |
public String[] generateSchemaUpdateScript(Dialect dialect, DatabaseMetadata databaseMetadata) |
throws HibernateException { |
secondPassCompile(); |
String defaultCatalog = getProperties().getProperty( Environment.DEFAULT_CATALOG ); |
String defaultSchema = getProperties().getProperty( Environment.DEFAULT_SCHEMA ); |
ArrayList script = new ArrayList( 50 ); |
Iterator iter = getTableMappings(); |
while ( iter.hasNext() ) { |
Table table = (Table) iter.next(); |
if ( table.isPhysicalTable() ) { |
TableMetadata tableInfo = databaseMetadata.getTableMetadata( |
table.getName(), |
( table.getSchema() == null ) ? defaultSchema : table.getSchema(), |
( table.getCatalog() == null ) ? defaultCatalog : table.getCatalog(), |
table.isQuoted() |
); |
if ( tableInfo == null ) { |
script.add( |
table.sqlCreateString( |
dialect, |
getMapping(), |
defaultCatalog, |
defaultSchema |
) |
); |
} |
else { |
Iterator subiter = table.sqlAlterStrings( |
dialect, |
getMapping(), |
tableInfo, |
defaultCatalog, |
defaultSchema |
); |
while ( subiter.hasNext() ) { |
script.add( subiter.next() ); |
} |
} |
Iterator comments = table.sqlCommentStrings( dialect, defaultCatalog, defaultSchema ); |
while ( comments.hasNext() ) { |
script.add( comments.next() ); |
} |
} |
} |
iter = getTableMappings(); |
while ( iter.hasNext() ) { |
Table table = (Table) iter.next(); |
if ( table.isPhysicalTable() ) { |
TableMetadata tableInfo = databaseMetadata.getTableMetadata( |
table.getName(), |
table.getSchema(), |
table.getCatalog(), |
table.isQuoted() |
); |
//TODO JORGE Hack that generates indexes that are omitted when using |
// hibernate.hbm2ddl.auto=update. See commented-out code below. |
Iterator idxIter = table.getIndexIterator(); |
while (idxIter.hasNext()) { |
Index index = (Index) idxIter.next(); |
// Skip if index already exists |
if (tableInfo != null) { |
IndexMetadata meta = tableInfo.getIndexMetadata(index.getName()); |
if (meta != null) { |
continue; |
} |
} |
script.add(index.sqlCreateString(dialect, |
getMapping(), |
defaultCatalog, |
defaultSchema)); |
} |
//TODO JORGE HACK |
if ( dialect.hasAlterTable() ) { |
Iterator subIter = table.getForeignKeyIterator(); |
while ( subIter.hasNext() ) { |
ForeignKey fk = (ForeignKey) subIter.next(); |
if ( fk.isPhysicalConstraint() ) { |
boolean create = tableInfo == null || ( |
tableInfo.getForeignKeyMetadata( fk.getName() ) == null && ( |
//Icky workaround for MySQL bug: |
!( dialect instanceof MySQLDialect) || |
tableInfo.getIndexMetadata( fk.getName() ) == null |
) |
); |
if ( create ) { |
script.add( |
fk.sqlCreateString( |
dialect, |
getMapping(), |
defaultCatalog, |
defaultSchema |
) |
); |
} |
} |
} |
} |
} |
/*//broken, 'cos we don't generate these with names in SchemaExport |
subIter = table.getIndexIterator(); |
while ( subIter.hasNext() ) { |
Index index = (Index) subIter.next(); |
if ( !index.isForeignKey() || !dialect.hasImplicitIndexForForeignKey() ) { |
if ( tableInfo==null || tableInfo.getIndexMetadata( index.getFilterName() ) == null ) { |
script.add( index.sqlCreateString(dialect, mapping) ); |
} |
} |
} |
//broken, 'cos we don't generate these with names in SchemaExport |
subIter = table.getUniqueKeyIterator(); |
while ( subIter.hasNext() ) { |
UniqueKey uk = (UniqueKey) subIter.next(); |
if ( tableInfo==null || tableInfo.getIndexMetadata( uk.getFilterName() ) == null ) { |
script.add( uk.sqlCreateString(dialect, mapping) ); |
} |
}*/ |
} |
iter = iterateGenerators( dialect ); |
while ( iter.hasNext() ) { |
PersistentIdentifierGenerator generator = (PersistentIdentifierGenerator) iter.next(); |
Object key = generator.generatorKey(); |
if ( !databaseMetadata.isSequence( key ) && !databaseMetadata.isTable( key ) ) { |
String[] lines = generator.sqlCreateStrings( dialect ); |
for ( int i = 0; i < lines.length ; i++ ) { |
script.add( lines[i] ); |
} |
} |
} |
return ArrayHelper.toStringArray(script); |
} |
private Iterator iterateGenerators(Dialect dialect) throws MappingException { |
TreeMap generators = new TreeMap(); |
String defaultCatalog = getProperties().getProperty(Environment.DEFAULT_CATALOG); |
String defaultSchema = getProperties().getProperty(Environment.DEFAULT_SCHEMA); |
Iterator iter = classes.values().iterator(); |
while ( iter.hasNext() ) { |
PersistentClass pc = (PersistentClass) iter.next(); |
if ( !pc.isInherited() ) { |
IdentifierGenerator ig = pc.getIdentifier() |
.createIdentifierGenerator( |
dialect, |
defaultCatalog, |
defaultSchema, |
(RootClass) pc |
); |
if ( ig instanceof PersistentIdentifierGenerator ) { |
generators.put( ( (PersistentIdentifierGenerator) ig ).generatorKey(), ig ); |
} |
} |
} |
iter = collections.values().iterator(); |
while ( iter.hasNext() ) { |
Collection collection = (Collection) iter.next(); |
if ( collection.isIdentified() ) { |
IdentifierGenerator ig = ( (IdentifierCollection) collection ).getIdentifier() |
.createIdentifierGenerator( |
dialect, |
defaultCatalog, |
defaultSchema, |
null |
); |
if ( ig instanceof PersistentIdentifierGenerator ) { |
generators.put( ( (PersistentIdentifierGenerator) ig ).generatorKey(), ig ); |
} |
} |
} |
return generators.values().iterator(); |
} |
protected Mapping getMapping() throws HibernateException { |
Mapping m = null; |
try { |
Field f = Configuration.class.getDeclaredField("mapping"); |
f.setAccessible(true); |
m = (Mapping) f.get(this); |
} catch (Exception x) { |
throw new HibernateException("failed to reflect mapping field", x); |
} |
return m; |
} |
} |
/branches/v3/impl/src/java/jomm/dao/impl/AbstractDao.java |
---|
592,8 → 592,8 |
{ |
if(obj instanceof DomainObject) |
{ |
DomainObject o = (DomainObject) obj; |
o.setSaveDate(new Date()); |
DomainObject o = (DomainObject) obj; |
o.setSaveDate(new Date()); |
} |
return (Serializable) getCurrentSession().save(obj); |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/services/courses/xsd/UnidadeImpl.java |
---|
95,7 → 95,12 |
return -1; |
} |
public static int getSemestreAbsoluto(String id) |
/** |
* Acaba por nao ser necessário |
* @param id |
* @return |
*/ |
/*public static int getSemestreAbsoluto(String id) |
{ |
if(id.equals("S1")) |
return 1; |
135,8 → 140,10 |
return 2; |
return -1; |
} |
}*/ |
public static String getPeriodoSiges(String id) |
{ |
if(id.equals("S1")) |
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/OlapGenerationProcessor.java |
---|
10,8 → 10,7 |
import pt.estgp.estgweb.services.logresults.impl.DefaultLogMessage; |
import pt.estgp.estgweb.services.logresults.impl.DefaultLogMessages; |
import java.util.HashMap; |
import java.util.List; |
import java.util.*; |
/** |
33,8 → 32,10 |
int cursosUtilizados = 0; |
//int respostasRequisitadas = 0; |
int cursosSemDepartamento = 0; |
int unidadesSemPeriodoNoPlano = 0; |
/** |
* ############# JOB TASK ############ |
* ############# JOB TASK ############ |
60,170 → 61,224 |
//respostasRequisitadas = 0; |
cursosSemDepartamento = 0; |
unidadesSemPeriodoNoPlano = 0; |
QuestionarioImpl q = (QuestionarioImpl) DaoFactory.getQuestionarioDaoImpl().load(questionarioId); |
try{ |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapStarFactQuestionarioAnswer.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapStarFactQuestionario.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapStarFactQuestionarioAnswer.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapStarFactQuestionario.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioUser.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioCurso.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioUnidade.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioPergunta.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioTipologia.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioUser.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioCurso.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioUnidade.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioPergunta.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
AbstractDao.getCurrentSession().createQuery("delete from " + OlapEntityQuestionarioTipologia.class.getName() + " x where x.questionario.id = " + questionarioId).executeUpdate(); |
List<OlapEntityQuestionario> questionarios = AbstractDao.getCurrentSession().createQuery("select x from x in class " + OlapEntityQuestionario.class.getName() + " where x.questionario.id = " + questionarioId).list(); |
OlapEntityQuestionario olapEntityQuestionario; |
OlapHistoryDimension olapHistoryDimension; |
if(questionarios.size() > 0) |
{ |
olapEntityQuestionario = questionarios.get(0); |
updateOlapQuestionario(olapEntityQuestionario, q); |
List<OlapHistoryDimension> histories = AbstractDao.getCurrentSession().createQuery("select x from x in class " + OlapHistoryDimension.class.getName() + " where x.questionario.id = " + questionarioId).list(); |
olapHistoryDimension = histories.get(0); |
} |
else |
{ |
//+++++++ todo CRIANDO OLAP Questionario |
olapEntityQuestionario = createQuestionarioOlap(q); |
olapHistoryDimension = new OlapHistoryDimension(); |
olapHistoryDimension.setQuestionario(q); |
//+++++++ todo CRIANDO OLAP History |
DaoFactory.getOlapHistoryDimensionDaoImpl().save(olapHistoryDimension); |
} |
olapHistoryDimension.setNome(q.getQuestionarioHistoryDrive().getCodeName()); |
olapHistoryDimension.setDescricao(q.getQuestionarioHistoryDrive().getDescription()); |
List<OlapEntityQuestionario> questionarios = AbstractDao.getCurrentSession().createQuery("select x from x in class " + OlapEntityQuestionario.class.getName() + " where x.questionario.id = " + questionarioId).list(); |
OlapEntityQuestionario olapQuestionario; |
OlapHistoryDimension olapHistoryDimension; |
if(questionarios.size() > 0) |
{ |
olapQuestionario = questionarios.get(0); |
updateOlapQuestionario(olapQuestionario, q); |
List<OlapHistoryDimension> histories = AbstractDao.getCurrentSession().createQuery("select x from x in class " + OlapHistoryDimension.class.getName() + " where x.questionario.id = " + questionarioId).list(); |
olapHistoryDimension = histories.get(0); |
} |
else |
{ |
//+++++++ todo CRIANDO OLAP Questionario |
olapQuestionario = createQuestionarioOlap(q); |
olapHistoryDimension = new OlapHistoryDimension(); |
olapHistoryDimension.setQuestionario(q); |
//+++++++ todo CRIANDO OLAP History |
DaoFactory.getOlapHistoryDimensionDaoImpl().save(olapHistoryDimension); |
} |
olapHistoryDimension.setNome(q.getQuestionarioHistoryDrive().getCodeName()); |
olapHistoryDimension.setDescricao(q.getQuestionarioHistoryDrive().getDescription()); |
//Colocamos já aqui o estado para nao se poder mudar o Ano e o Semestre |
//Colocamos já aqui o estado para nao se poder mudar o Ano e o Semestre |
/**logging**/ |
String msg = "Starting running service OLAP GENERATION generation for questionario: " + q.getId() + " - " + q.getiAnswersProcessorClass().getTitle(); |
serviceLogInfo(msg); |
logger.info(msg); |
/**logging**/ |
String msg = "Starting running service OLAP GENERATION generation for questionario: " + q.getId() + " - " + q.getiAnswersProcessorClass().getTitle(); |
serviceLogInfo(msg); |
logger.info(msg); |
List<Long> cursosAfetosIds = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().findCursosAfetosIds(questionarioId); |
int count = 0; |
int size=cursosAfetosIds.size(); |
List<Long> cursosAfetosIds = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().findCursosAfetosIds(questionarioId); |
int count = 0; |
int size=cursosAfetosIds.size(); |
//+++++++ todo CRIANDO OLAP Perguntas |
HashMap<String,Long> mapaIdsPerguntasPersistentes = createOlapQuestionarioPergunta(q); |
//+++++++ todo CRIANDO OLAP Perguntas |
HashMap<Integer,Long> mapaIdsPerguntasPersistentes = createOlapQuestionarioPergunta(q); |
for(Long cursoAfetoId : cursosAfetosIds) |
{ |
count++; |
for(Long cursoAfetoId : cursosAfetosIds) |
{ |
count++; |
/** COMMIT OPERATION **/ |
setProgress((int)((((float)count)/((float)size))*100.0f)); |
commitPartially(); |
q = (QuestionarioImpl) DaoFactory.getQuestionarioDaoImpl().load(questionarioId); |
/** COMMIT OPERATION **/ |
/** COMMIT OPERATION **/ |
setProgress((int)((((float)count)/((float)size))*100.0f)); |
commitPartially(); |
q = (QuestionarioImpl) DaoFactory.getQuestionarioDaoImpl().load(questionarioId); |
/** COMMIT OPERATION **/ |
QuestionarioPedagogicoCursoAfeto cu = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().get(cursoAfetoId); |
msg = "(+) Iniciando geração OLAP para o curso " + cu.getNome() + " (" + cu.getCodigoCurso() + ") escola " + cu.getNomeInstituicao() + "(" + cu.getCodigoInstituicao() + ")"; |
logger.info(msg); |
serviceLogInfo(msg); |
QuestionarioPedagogicoCursoAfeto cu = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().get(cursoAfetoId); |
msg = "(+) Iniciando geração OLAP para o curso " + cu.getNome() + " (" + cu.getCodigoCurso() + ") escola " + cu.getNomeInstituicao() + "(" + cu.getCodigoInstituicao() + ")"; |
logger.info(msg); |
serviceLogInfo(msg); |
//+++++++ todo CRIANDO OLAP Curso |
OlapEntityQuestionarioCurso questionarioCurso = createQuestionarioCursoOlap(logMessages, q, cu); |
//+++++++ todo CRIANDO OLAP Curso |
OlapEntityQuestionarioCurso olapQuestionarioCurso = createQuestionarioCursoOlap(logMessages, q, cu); |
int unidades; |
if(cu.getUnidadesAfetas() != null) |
{ |
unidades = cu.getUnidadesAfetas().size(); |
int countUnidades = 0; |
for(QuestionarioPedagogicoUnidadeCurricularAfeta unidadeCurricularAfeta: cu.getUnidadesAfetas()) |
int unidades; |
if(cu.getUnidadesAfetas() != null) |
{ |
countUnidades++; |
msg = unidadeCurricularAfeta.isUsar() ? "(+)" : "(----IGNORADA-----)"; |
msg += "(" + countUnidades + "/" + unidades + ") Iniciando OLAP de Unidade Curricular Afeta " + unidadeCurricularAfeta.getCodigoUnidade() + " - " + unidadeCurricularAfeta.getNome(); |
logger.info(msg); |
serviceLogInfo(msg); |
unidades = cu.getUnidadesAfetas().size(); |
int countUnidades = 0; |
for(QuestionarioPedagogicoUnidadeCurricularAfeta unidadeCurricularAfeta: cu.getUnidadesAfetas()) |
{ |
countUnidades++; |
msg = unidadeCurricularAfeta.isUsar() ? "(+)" : "(----IGNORADA-----)"; |
msg += "(" + countUnidades + "/" + unidades + ") Iniciando OLAP de Unidade Curricular Afeta " + unidadeCurricularAfeta.getCodigoUnidade() + " - " + unidadeCurricularAfeta.getNome(); |
logger.info(msg); |
serviceLogInfo(msg); |
if(!unidadeCurricularAfeta.isUsar() || !unidadeCurricularAfeta.isUsarOlap()) |
{ |
unidadesNaoUtilizadas++; |
msg = "!!! A unidade está marcada para NÃO SER UTILIZADA, passando à próxima"; |
serviceLogWarn(msg); |
logger.warn(msg); |
logMessages.addMessage(new DefaultLogMessage("questionario.olap", LogMessageTypeEnum.WARNING,msg)); |
} |
else |
{ |
CourseUnitImpl cuImpl = (CourseUnitImpl) DaoFactory.getCourseUnitDaoImpl().narrow(unidadeCurricularAfeta.getCourseUnit()); |
CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(unidadeCurricularAfeta.getCourseUnit().getCourse()); |
if(!unidadeCurricularAfeta.isUsar() || !unidadeCurricularAfeta.isUsarOlap()) |
{ |
unidadesNaoUtilizadas++; |
msg = "!!! A unidade está marcada para NÃO SER UTILIZADA, passando à próxima"; |
serviceLogWarn(msg); |
logger.warn(msg); |
logMessages.addMessage(new DefaultLogMessage("questionario.olap", LogMessageTypeEnum.WARNING,msg)); |
} |
else |
{ |
CourseUnitImpl cuImpl = (CourseUnitImpl) DaoFactory.getCourseUnitDaoImpl().narrow(unidadeCurricularAfeta.getCourseUnit()); |
CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(unidadeCurricularAfeta.getCourseUnit().getCourse()); |
//TODO CRIAR ENTIDADE OLAP UNIDADE |
//TODO CRIANDO ENTIDADE OLAP UNIDADE |
OlapEntityQuestionarioUnidade olapQuestionarioUnidade = createOlapQuestionarioUnidade(logMessages, q, unidadeCurricularAfeta, cuImpl); |
unidadesUtilizadas++; |
List<CourseUnitImpl.Tipologia> tipologias; |
unidadesUtilizadas++; |
List<CourseUnitImpl.Tipologia> tipologias; |
for(QuestionarioPedagogicoTipologiaRequisitada tipologiaRequisitada: unidadeCurricularAfeta.getTipologiasRequisitadas()) |
{ |
msg ="Iniciando OLAP de Tipologia Requisitada " + tipologiaRequisitada.getDsTipologia() + " " + tipologiaRequisitada.getCdTipologia() |
+ " docente: " + tipologiaRequisitada.getCdDocente() + "(" + tipologiaRequisitada.getNomeDocente() + ")" |
+ " turma: " + tipologiaRequisitada.getCdTurma(); |
serviceLogInfo(msg); |
logger.info(msg); |
//TODO CRIAR ENTIDADE OLAP TIPOLOGIA |
for(QuestionarioPedagogicoAlunoRequisitado alunoRequisitado: tipologiaRequisitada.getAlunosRequisitados()) |
for(QuestionarioPedagogicoTipologiaRequisitada tipologiaRequisitada: unidadeCurricularAfeta.getTipologiasRequisitadas()) |
{ |
QuestionarioRespostaRequisitada respostaRequisitada = alunoRequisitado.getRespostaRequisitada(); |
msg ="Iniciando OLAP de Tipologia Requisitada " + tipologiaRequisitada.getDsTipologia() + " " + tipologiaRequisitada.getCdTipologia() |
+ " docente: " + tipologiaRequisitada.getCdDocente() + "(" + tipologiaRequisitada.getNomeDocente() + ")" |
+ " turma: " + tipologiaRequisitada.getCdTurma(); |
serviceLogInfo(msg); |
logger.info(msg); |
//TODO CRIAR/PROCURAR NESTE QUESTIONARIO ENTIDADE PERFIL UTILIZADOR |
//TODO CRIAR ENTIDADE FACTO RESPOSTA RESPONDIDA/NAO RESPONDIDA |
QuestionarioResposta resposta = respostaRequisitada.getResposta(); |
//TODO CRIANDO ENTIDADE OLAP TIPOLOGIA |
OlapEntityQuestionarioTipologia olapQuestionarioTipologia = createOlapQuestionarioTipologia(q, tipologiaRequisitada); |
//TODO USAR ENTIDADES RESPOSTAPERGUNTA COM BASE NO QUESTIONARIO EM QUESTAO |
for(QuestionarioPedagogicoAlunoRequisitado alunoRequisitado: tipologiaRequisitada.getAlunosRequisitados()) |
{ |
QuestionarioRespostaRequisitada respostaRequisitada = alunoRequisitado.getRespostaRequisitada(); |
//TODO CRIANDO NESTE QUESTIONARIO ENTIDADE PERFIL UTILIZADOR |
OlapEntityQuestionarioUser olapQuestionarioUser = createOlapQuestionarioUser(q, alunoRequisitado); |
if(respostaRequisitada.getResposta() != null) |
{ |
//TODO CRIAR FACTOS RESPOSTA COM BASE NA RESPOSTA |
//TODO CRIANDO ENTIDADE FACTO RESPOSTA RESPONDIDA/NAO RESPONDIDA |
createOlapStarFactQuestionario(q, olapQuestionario, olapHistoryDimension, olapQuestionarioCurso, olapQuestionarioUnidade, olapQuestionarioTipologia, respostaRequisitada, olapQuestionarioUser); |
//TODO USAR ENTIDADES RESPOSTAPERGUNTA COM BASE NO QUESTIONARIO EM QUESTAO |
if(respostaRequisitada.getResposta() != null) |
{ |
QuestionarioResposta resposta = respostaRequisitada.getResposta(); |
//TODO CRIAR FACTOS RESPOSTA COM BASE NA RESPOSTA |
List<OlapStarFactQuestionarioAnswer> factRespostas = new ArrayList<OlapStarFactQuestionarioAnswer>(); |
for(Map.Entry<Integer,Long> entryPergunta : mapaIdsPerguntasPersistentes.entrySet()) |
{ |
int numeroPergunta = entryPergunta.getKey(); |
Long idPerguntaBd = entryPergunta.getValue(); |
OlapEntityQuestionarioPergunta olapPergunta = DaoFactory.getOlapEntityQuestionarioPerguntaDaoImpl().load(idPerguntaBd); |
Long timeTakenRN = (Long) QuestionarioResposta.class.getMethod("getTimeTakenR" + numeroPergunta).invoke(resposta); |
Long timeEventRN = (Long) QuestionarioResposta.class.getMethod("getTimeEventR" + numeroPergunta).invoke(resposta); |
String respostaN = (String) QuestionarioResposta.class.getMethod("getR" + numeroPergunta).invoke(resposta); |
if(respostaN != null) |
{ |
OlapStarFactQuestionarioAnswer factQuestionarioAnswer = new OlapStarFactQuestionarioAnswer(); |
factQuestionarioAnswer.setQuestionario(q); |
factQuestionarioAnswer.setOlapTimeLine(olapHistoryDimension); |
factQuestionarioAnswer.setOlapQuestionario(olapQuestionario); |
factQuestionarioAnswer.setOlapUnidade(olapQuestionarioUnidade); |
factQuestionarioAnswer.setOlapPerfilUser(olapQuestionarioUser); |
factQuestionarioAnswer.setOlapTipologia(olapQuestionarioTipologia); |
factQuestionarioAnswer.setOlapCurso(olapQuestionarioCurso); |
factQuestionarioAnswer.setOlapPergunta(olapPergunta); |
factQuestionarioAnswer.setDataEvento(new Date(timeEventRN)); |
factQuestionarioAnswer.setTempoLevado(timeTakenRN); |
factQuestionarioAnswer.setIntResposta(Integer.parseInt(respostaN)); |
factRespostas.add(factQuestionarioAnswer); |
DaoFactory.getOlapStarFactQuestionarioAnswerDaoImpl().save(factQuestionarioAnswer); |
} |
} |
Collections.sort(factRespostas,new Comparator<OlapStarFactQuestionarioAnswer>() { |
@Override |
public int compare(OlapStarFactQuestionarioAnswer o1, OlapStarFactQuestionarioAnswer o2) { |
return (int) (o1.getDataEvento().getTime() - o2.getDataEvento().getTime()); |
} |
}); |
int i = 1; |
for(OlapStarFactQuestionarioAnswer fact: factRespostas) |
{ |
fact.setOrdemResposta(i); |
i++; |
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |
/** COMMIT OPERATION **/ |
setProgress(100); |
commitPartially(); |
DaoFactory.getQuestionarioDaoImpl().update(q); |
/** COMMIT OPERATION **/ |
/** COMMIT OPERATION **/ |
setProgress(100); |
commitPartially(); |
DaoFactory.getQuestionarioDaoImpl().update(q); |
/** COMMIT OPERATION **/ |
msg = "Set courses state as " + QuestionarioImpl.State.OLAP.name(); |
serviceLogInfo(msg); |
logger.info(msg); |
q.setStateClass(QuestionarioImpl.State.OLAP); |
commitPartially(); |
msg = "Set courses state as " + QuestionarioImpl.State.OLAP.name(); |
serviceLogInfo(msg); |
logger.info(msg); |
q.setStateClass(QuestionarioImpl.State.OLAP); |
commitPartially(); |
serviceLogInfo("######################################"); |
serviceLogInfo("######################################"); |
serviceLogInfo("######################################"); |
serviceLogInfo("######################################"); |
logger.info("######################################"); |
logger.info("######################################"); |
logger.info("######################################"); |
logger.info("######################################"); |
} |
catch(Throwable e) |
{ |
234,8 → 289,99 |
return logMessages; |
} |
private OlapStarFactQuestionario createOlapStarFactQuestionario(QuestionarioImpl q, OlapEntityQuestionario olapQuestionario, OlapHistoryDimension olapHistoryDimension, OlapEntityQuestionarioCurso olapQuestionarioCurso, OlapEntityQuestionarioUnidade olapQuestionarioUnidade, OlapEntityQuestionarioTipologia olapQuestionarioTipologia, QuestionarioRespostaRequisitada respostaRequisitada, OlapEntityQuestionarioUser olapQuestionarioUser) { |
QuestionarioResposta resposta = respostaRequisitada.getResposta(); |
OlapStarFactQuestionario factQuestionario = new OlapStarFactQuestionario(); |
factQuestionario.setQuestionario(q); |
factQuestionario.setOlapTimeLine(olapHistoryDimension); |
factQuestionario.setOlapQuestionario(olapQuestionario); |
factQuestionario.setOlapUnidade(olapQuestionarioUnidade); |
factQuestionario.setOlapPerfilUser(olapQuestionarioUser); |
factQuestionario.setOlapTipologia(olapQuestionarioTipologia); |
factQuestionario.setOlapCurso(olapQuestionarioCurso); |
factQuestionario.setRespondido(resposta != null); |
if(resposta != null) |
{ |
factQuestionario.setDataInicio(new Date(resposta.getTimeStart())); |
factQuestionario.setDataFim(new Date(resposta.getTimeEnd())); |
factQuestionario.setTempoTotal(resposta.getTotalTime()); |
} |
DaoFactory.getOlapStarFactQuestionarioDaoImpl().save(factQuestionario); |
return factQuestionario; |
} |
private OlapEntityQuestionarioUser createOlapQuestionarioUser(QuestionarioImpl q, QuestionarioPedagogicoAlunoRequisitado alunoRequisitado) { |
OlapEntityQuestionarioUser questionarioUser = new OlapEntityQuestionarioUser(); |
questionarioUser.setQuestionario(q); |
questionarioUser.setBirthDate(alunoRequisitado.getAluno().getBirthDate()); |
questionarioUser.setCountry(alunoRequisitado.getAluno().getCountry()); |
questionarioUser.setPropinasEmDia(alunoRequisitado.getAluno().isPropinasEmDia()); |
questionarioUser.setScholarDegree(alunoRequisitado.getAluno().getScholarDegree()); |
questionarioUser.setSex(alunoRequisitado.getAluno().getSex()); |
questionarioUser.setTipoAlunoBolseiro(alunoRequisitado.getAluno().isTipoAlunoBolseiro()); |
questionarioUser.setTipoAlunoNormal(alunoRequisitado.getAluno().isTipoAlunoNormal()); |
questionarioUser.setTipoAlunoVascodagama(alunoRequisitado.getAluno().isTipoAlunoVascodagama()); |
questionarioUser.setTipoAlunoMilitar(alunoRequisitado.getAluno().isTipoAlunoMilitar()); |
questionarioUser.setTipoAlunoDirigenteAssociativo(alunoRequisitado.getAluno().isTipoAlunoDirigenteAssociativo()); |
questionarioUser.setTipoAlunoBombeiro(alunoRequisitado.getAluno().isTipoAlunoBombeiro()); |
questionarioUser.setTipoAlunoDeficiente(alunoRequisitado.getAluno().isTipoAlunoDeficiente()); |
questionarioUser.setTipoAlunoErasmus(alunoRequisitado.getAluno().isTipoAlunoErasmus()); |
questionarioUser.setTipoAlunoTrabalhadorEstudante(alunoRequisitado.getAluno().isTipoAlunoTrabalhadorEstudante()); |
questionarioUser.setZip(alunoRequisitado.getAluno().getZip()); |
DaoFactory.getOlapEntityQuestionarioUserDaoImpl().save(questionarioUser); |
return questionarioUser; |
} |
private OlapEntityQuestionarioTipologia createOlapQuestionarioTipologia(QuestionarioImpl q, QuestionarioPedagogicoTipologiaRequisitada tipologiaRequisitada) { |
OlapEntityQuestionarioTipologia questionarioTipologia = new OlapEntityQuestionarioTipologia(); |
questionarioTipologia.setQuestionario(q); |
questionarioTipologia.setCodigoTipologia(tipologiaRequisitada.getCdTipologia()); |
questionarioTipologia.setCodigoTurma(tipologiaRequisitada.getCdTurma()); |
questionarioTipologia.setDescricao(tipologiaRequisitada.getDsTipologia()); |
//DOCENTE |
questionarioTipologia.setNome(tipologiaRequisitada.getNomeDocente()); |
questionarioTipologia.setCodigoSiges(tipologiaRequisitada.getCdDocente()); |
questionarioTipologia.setBi(tipologiaRequisitada.getDocenteAfeto().getBi()); |
questionarioTipologia.setEmail(tipologiaRequisitada.getDocenteAfeto().getEmail()); |
questionarioTipologia.setUsername(tipologiaRequisitada.getDocenteAfeto().getUsername()); |
DaoFactory.getOlapEntityQuestionarioTipologiaDaoImpl().save(questionarioTipologia); |
return questionarioTipologia; |
} |
private OlapEntityQuestionarioUnidade createOlapQuestionarioUnidade(DefaultLogMessages logMessages, QuestionarioImpl q, QuestionarioPedagogicoUnidadeCurricularAfeta unidadeCurricularAfeta, CourseUnitImpl cuImpl) { |
String msg; |
OlapEntityQuestionarioUnidade olapEntityQuestionarioUnidade = new OlapEntityQuestionarioUnidade(); |
olapEntityQuestionarioUnidade.setQuestionario(q); |
olapEntityQuestionarioUnidade.setNome(unidadeCurricularAfeta.getNome()); |
olapEntityQuestionarioUnidade.setCodigo(unidadeCurricularAfeta.getCodigoUnidade()); |
olapEntityQuestionarioUnidade.setPeriodoPlanoS1T8(cuImpl.getPeriodoPlanoFromStudiesPlan()); |
olapEntityQuestionarioUnidade.setSemestrePlanoAbsoluto1ou2(cuImpl.getSemestrePlanoAbsoluto()); |
olapEntityQuestionarioUnidade.setPeriodoSigesS1ouS2ouAouT1aT4(cuImpl.getSemestre()); |
if(olapEntityQuestionarioUnidade.getPeriodoPlanoS1T8() == null) |
{ |
unidadesSemPeriodoNoPlano++; |
msg = "!!! A unidade " + cuImpl.getCode() + " não tem periodo atribuido no Plano"; |
serviceLogWarn(msg); |
logger.warn(msg); |
logMessages.addMessage(new DefaultLogMessage("questionario.olap", LogMessageTypeEnum.WARNING,msg)); |
} |
else |
{ |
olapEntityQuestionarioUnidade.setAnoPlano1a4(cuImpl.getAnoPlanoFromStudiesPlan()); |
//tem de ser igual ao semestre.getId() todo rever situação com um if e warn se falhar |
olapEntityQuestionarioUnidade.setSemestrePlanoConvertido1a6(cuImpl.getSemestrePlanoConvertido()); |
} |
DaoFactory.getOlapEntityQuestionarioUnidadeDaoImpl().save(olapEntityQuestionarioUnidade); |
return olapEntityQuestionarioUnidade; |
} |
private OlapEntityQuestionarioCurso createQuestionarioCursoOlap(DefaultLogMessages logMessages, QuestionarioImpl q, QuestionarioPedagogicoCursoAfeto cu) { |
OlapEntityQuestionarioCurso questionarioCurso; |
String msg; |
286,10 → 432,13 |
* @param q |
* @return |
*/ |
private HashMap<String,Long> createOlapQuestionarioPergunta(QuestionarioImpl q) |
private HashMap<Integer,Long> createOlapQuestionarioPergunta(QuestionarioImpl q) |
{ |
HashMap<String,Long> mapaIdsPerguntasPersistentes = new HashMap<String, Long>(); |
/** |
* Numero da Pergunta VS Id na base de dados da dimensão |
*/ |
HashMap<Integer,Long> mapaIdsPerguntasPersistentes = new HashMap<Integer, Long>(); |
for(int i = 1; i < 40;i++) |
{ |
306,7 → 455,7 |
DaoFactory.getOlapEntityQuestionarioPerguntaDaoImpl().save(pergunta); |
mapaIdsPerguntasPersistentes.put("" + i,pergunta.getId()); |
mapaIdsPerguntasPersistentes.put(i,pergunta.getId()); |
System.out.println("Pergunta OLAP Entity " + i); |
System.out.println(pergunta.getNumero()); |
/branches/v3/impl/src/java/pt/estgp/estgweb/services/jobs/JobDeamon.java |
---|
70,6 → 70,8 |
catch(Throwable e) |
{ |
j.setExecuted(true); |
AbstractDao.getCurrentSession().getTransaction().rollback(); |
AbstractDao.getCurrentSession().beginTransaction(); |
DaoFactory.getJobDaoImpl().saveOrUpdate(j); |
AbstractDao.getCurrentSession().flush(); |
AbstractDao.getCurrentSession().evict(j); |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupDocentesAnoImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportFileGroupDocentesAnoImpl extends QuestionarioReportFileGroupDocentesAno { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupCursosAnoImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportFileGroupCursosAnoImpl extends QuestionarioReportFileGroupCursosAno { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportDocenteFileImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportDocenteFileImpl extends QuestionarioReportDocenteFile { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportFileImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportFileImpl extends QuestionarioReportFile { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupAnoImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportFileGroupAnoImpl extends QuestionarioReportFileGroupAno { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/CourseUnitImpl.java |
---|
1167,7 → 1167,7 |
public String getPeriodoPlanoFromStudiesPlan() |
{ |
CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
return courseImpl.getUnidadePeriodoPlano(getSemestre(),getCode()); |
return courseImpl.getUnidadePeriodoPlano(getSemestre(), getCode()); |
} |
/** |
1177,7 → 1177,7 |
public int getSemestrePlanoConvertido() |
{ |
CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
return courseImpl.getUnidadeSemestrePlanoConvertido(getSemestre(),getCode()); |
return courseImpl.getUnidadeSemestrePlanoConvertido(getSemestre(), getCode()); |
} |
/** |
1186,12 → 1186,27 |
*/ |
public int getSemestrePlanoAbsoluto() |
{ |
CourseImpl courseImpl = (CourseImpl) DaoFactory.getCourseDaoImpl().narrow(getCourse()); |
return courseImpl.getUnidadeSemestrePlanoAbsoluto(getSemestre(),getCode()); |
} |
String id = getSemestre(); |
if(id.equals("S1")) |
return 1; |
else if(id.equals("S2")) |
return 2; |
else if(id.equals("A")) |
return -1; |
else if(id.equals("T1")) |
return 1; |
else if(id.equals("T2")) |
return 1; |
else if(id.equals("T3")) |
return 2; |
else if(id.equals("T4")) |
return 2; |
return -1; |
} |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/dao/DaoFactory.java |
---|
476,4 → 476,14 |
{ |
return OlapHistoryDimensionDao.getInstance(); |
} |
public static OlapStarFactQuestionarioAnswerDao getOlapStarFactQuestionarioAnswerDaoImpl() |
{ |
return OlapStarFactQuestionarioAnswerDao.getInstance(); |
} |
public static OlapStarFactQuestionarioDao getOlapStarFactQuestionarioDaoImpl() |
{ |
return OlapStarFactQuestionarioDao.getInstance(); |
} |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportCursoFileImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportCursoFileImpl extends QuestionarioReportCursoFile { |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/CourseImpl.java |
---|
135,7 → 135,7 |
private Map<String,Integer> sigesAnoPlano = null; |
private Map<String,String> sigesPeriodoPlano = null; |
private Map<String,Integer> sigesSemestrePlanoConvertido = null; |
private Map<String,Integer> sigesSemestrePlanoAbsoluto = null; |
//private Map<String,Integer> sigesSemestrePlanoAbsoluto = null; |
/** |
168,7 → 168,7 |
sigesAnoPlano = new HashMap<String, Integer>(); |
sigesPeriodoPlano = new HashMap<String, String>(); |
sigesSemestrePlanoConvertido = new HashMap<String, Integer>(); |
sigesSemestrePlanoAbsoluto = new HashMap<String, Integer>(); |
//sigesSemestrePlanoAbsoluto = new HashMap<String, Integer>(); |
CoursesService coursesService = new CoursesService(); |
194,7 → 194,7 |
{ |
Integer anoPlano = UnidadeImpl.getAnoFromPlano(semestre.getId()); |
Integer semestrePlanoConvertido = UnidadeImpl.getSemestreConvertido(semestre.getId()); |
Integer semestrePlanoAbsoluto = UnidadeImpl.getSemestreAbsoluto(semestre.getId()); |
//Integer semestrePlanoAbsoluto = UnidadeImpl.getSemestreAbsoluto(semestre.getId()); |
for(Curso.Semestre.Perfil perfil: semestre.getPerfil()) |
{ |
203,7 → 203,7 |
sigesAnoPlano.put(unidade.getSiges() + "$" + periodoSiges,anoPlano); |
sigesPeriodoPlano.put(unidade.getSiges() + "$" + periodoSiges,semestre.getId()); |
sigesSemestrePlanoConvertido.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoConvertido); |
sigesSemestrePlanoAbsoluto.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoAbsoluto); |
//sigesSemestrePlanoAbsoluto.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoAbsoluto); |
} |
} |
for(UnidadeType unidade: semestre.getUnidade()) |
211,7 → 211,7 |
sigesAnoPlano.put(unidade.getSiges() + "$" + periodoSiges,anoPlano); |
sigesPeriodoPlano.put(unidade.getSiges() + "$" + periodoSiges,semestre.getId()); |
sigesSemestrePlanoConvertido.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoConvertido); |
sigesSemestrePlanoAbsoluto.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoAbsoluto); |
//sigesSemestrePlanoAbsoluto.put(unidade.getSiges() + "$" + periodoSiges,semestrePlanoAbsoluto); |
} |
} |
270,12 → 270,12 |
* @param sigesCode |
* @return S1 = 1, S2 = 2, S3 = 1, S4 = 2 ... T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 1, T6 e T7 = 2 |
*/ |
public Integer getUnidadeSemestrePlanoAbsoluto(String periodoSiges,String sigesCode) |
/*public Integer getUnidadeSemestrePlanoAbsoluto(String periodoSiges,String sigesCode) |
{ |
if(sigesSemestrePlanoAbsoluto == null) |
initUnitsAnosFromStudiesPlan(); |
return sigesSemestrePlanoAbsoluto.get(sigesCode + "$" + periodoSiges); |
} |
}*/ |
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupImpl.java |
---|
New file |
0,0 → 1,7 |
package pt.estgp.estgweb.domain; |
/** |
* Created by jorgemachado on 05/11/16. |
*/ |
public class QuestionarioReportFileGroupImpl extends QuestionarioReportFileGroup { |
} |
/branches/v3/impl/src/doc/estgweb.eap |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v3/impl/src/updates/version/release-11-2016-questionariosOLAP |
---|
1,4 → 1,9 |
DROP TABLE `paeipp`.`olap_star_quest_answer`; |
DROP TABLE `paeipp`.`olap_star_quest`; |
DROP TABLE `paeipp`.`olap_e_quest_ano`, `paeipp`.`olap_e_quest_curso`, `paeipp`.`olap_e_quest_curso_degree`, `paeipp`.`olap_e_quest_docente`, `paeipp`.`olap_e_quest_inst`, `paeipp`.`olap_e_quest_p`, `paeipp`.`olap_e_quest_periodo`, `paeipp`.`olap_e_quest_pgrp`, `paeipp`.`olap_e_quest_tipologia`, `paeipp`.`olap_e_quest_turma`, `paeipp`.`olap_e_quest_unit`, `paeipp`.`olap_e_timeline`; |
DROP TABLE `paeipp`.`olap_e_quest_ano`, `paeipp`.`olap_e_quest_curso`, `paeipp`.`olap_e_quest_curso_degree`, `paeipp`.`olap_e_quest_docente`, `paeipp`.`olap_e_quest_inst`, `paeipp`.`olap_e_quest_p`, `paeipp`.`olap_e_quest_periodo`, `paeipp`.`olap_e_quest_pgrp`, `paeipp`.`olap_e_quest_tipologia`, `paeipp`.`olap_e_quest_turma`, `paeipp`.`olap_e_quest_unit`, `paeipp`.`olap_e_timeline`; |
//TODO |
Alterar a unidade curricular afeta para preencher imediatamente os Periodos lectivos a partir do plano |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/GenericUser.hbm.xml |
---|
11,14 → 11,14 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="superuser" type="boolean"/> |
<property name="username" type="string" unique="true" length="50" index="usernameIndex"/> |
<property name="name" type="string" index="nameIndex"/> |
<property name="email" type="string" index="emailIndex"/> |
<property name="preferrefEmail" type="string" index="emailIndex"/> |
<property name="roles" type="string" index="rolesIndex"> |
<property name="roles" type="string"> |
<column name="roles" sql-type="TEXT"/> |
</property> |
<property name="authenticationCertificate" type="string" index="authCertIndex"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Record.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="title" type="string" index="titleIndex"/> |
<property name="type" type="string" index="typeIndex"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/OlapQuestionarios.hbm.xml |
---|
6,6 → 6,7 |
<hibernate-mapping> |
<class name="pt.estgp.estgweb.domain.OlapHistoryDimension" table="olap_e_timeline"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
20,6 → 21,7 |
<!--Questionario Dimensao--> |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionario" table="olap_e_quest"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
33,6 → 35,7 |
<!--CURSO DIMENSAO--> |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionarioCurso" table="olap_e_quest_curso"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
56,10 → 59,11 |
<!--Unidade Dimensao--> |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionarioUnidade" table="olap_e_quest_unit"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
<property name="codigo" type="long" index="codigoIndex"/> |
<property name="codigo" type="string" index="codigoIndex"/> |
<property name="nome" type="string"/> |
<!-- S1 S2 A T1 T2 T3 T4 --> |
<property name="periodoSigesS1ouS2ouAouT1aT4" type="string" index="persigesIndex"/> |
68,14 → 72,14 |
<property name="periodoPlanoS1T8" type="string" index="perplanIndex"/> |
<!-- 1, 2, 3--> |
<property name="anoPlano1a4" type="string" index="anoplaIndex"/> |
<property name="anoPlano1a4" type="int" index="anoplaIndex"/> |
<!-- S1 = 1, S2 = 2, S3 = 3, S4 = 4 ...T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 3 ... --> |
<property name="semestrePlanoConvertido1a4" type="string" index="semplaconvIndex"/> |
<property name="semestrePlanoConvertido1a6" type="int" index="semplaconvIndex"/> |
<!-- S1 = 1, S2 = 2, S3 = 1, S4 = 2 ... T1 e T2 = 1, T2 e T3 = 2, T4 e T5 = 1, T6 e T7 = 2--> |
<property name="semestrePlanoAbsoluto1ou2" type="string" index="semplaabsIndex"/> |
<property name="semestrePlanoAbsoluto1ou2" type="int" index="semplaabsIndex"/> |
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" outer-join="false" lazy="proxy"/> |
86,6 → 90,7 |
<!--Tipologia Dimensao--> |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionarioTipologia" table="olap_e_quest_tipologia"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
93,7 → 98,7 |
<property name="descricao" type="string"/> |
<property name="codigoTurma" type="string" index="codigoIndex"/> |
<property name="codigoSiges" type="long" index="codigoIndex"/> |
<property name="codigoSiges" type="string" index="codigoIndex"/> |
<property name="nome" type="string"/> |
<property name="bi" type="string"/> |
<property name="username" type="string"/> |
108,6 → 113,7 |
<class name="pt.estgp.estgweb.domain.OlapStarFactQuestionario" table="olap_star_quest"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
120,6 → 126,7 |
<!--Associação directa às classes de resposta--> |
<many-to-one name="olapTipologia" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioTipologia" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapUnidade" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUnidade" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapCurso" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioCurso" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapQuestionario" class="pt.estgp.estgweb.domain.OlapEntityQuestionario" outer-join="false" lazy="proxy"/> |
<!--Se quiser usar factos historicos preciso de uma dimensao onde estejam todas as respostas dos questionarios pedagogicos--> |
135,6 → 142,7 |
</class> |
<class name="pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer" table="olap_star_quest_answer"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
146,6 → 154,7 |
<!--Associação directa às classes de resposta--> |
<many-to-one name="olapTipologia" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioTipologia" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapUnidade" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUnidade" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapCurso" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioCurso" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapQuestionario" class="pt.estgp.estgweb.domain.OlapEntityQuestionario" outer-join="false" lazy="proxy"/> |
<!--Se quiser usar factos historicos preciso de uma dimensao onde estejam todas as respostas dos questionarios pedagogicos--> |
162,6 → 171,7 |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionarioPergunta" table="olap_e_quest_pgrp"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
173,6 → 183,7 |
</class> |
<class name="pt.estgp.estgweb.domain.OlapEntityQuestionarioUser" table="olap_e_quest_user"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/SruSource.hbm.xml |
---|
12,7 → 12,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="collectionField" column="collection_field" type="string"/> |
34,7 → 34,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="collection" type="string"/> |
<property name="admitedRoles" type="string" column="admited_roles"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Survey.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="title" type="string"/> |
<property name="saveDate" type="timestamp"/> |
<property name="startDate" type="timestamp"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/UrlStat.hbm.xml |
---|
11,7 → 11,7 |
<generator class="assigned"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="text"/> |
<property name="description" type="text"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Course.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="nameEn" type="string"/> |
73,7 → 73,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="importYear" type="string" index="importYearIndex"/> |
<property name="separatedTurmas" type="boolean"> |
90,7 → 90,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="version" type="int"/> |
<property name="versionDescription" type="string"/> |
114,7 → 114,7 |
<generator class="assigned"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="institutionalCode" type="string"/> |
<property name="active" type="boolean"> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/IdentifiersManagement.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="sequenceNumber" type="long"/> |
<property name="description" type="text"/> |
27,7 → 27,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="sequenceNumber" type="long"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/UrlStatMonth.hbm.xml |
---|
16,7 → 16,7 |
</key-many-to-one> |
</composite-id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="date" type="date"/> |
<property name="totalClicks" type="integer"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/SessionObject.hbm.xml |
---|
16,7 → 16,7 |
</key-many-to-one> |
</composite-id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="type" type="string"/> |
<property name="object" type="java.io.Serializable"> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Process.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="possibleTargets" type="text" /> |
38,7 → 38,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="openDate" type="timestamp"/> |
<property name="lastChangeDate" type="timestamp"/> |
<property name="closeDate" type="timestamp"/> |
63,7 → 63,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="openDate" type="timestamp"/> |
<property name="acceptedDate" type="timestamp"/> |
<property name="dispatchedDate" type="timestamp"/> |
108,7 → 108,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="name" type="string"/> |
<property name="fileAccessLevel" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/UrlStatYear.hbm.xml |
---|
13,7 → 13,7 |
<key-many-to-one name="urlStat" class="pt.estgp.estgweb.domain.UrlStat" column="relativePath"/> |
</composite-id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="totalClicks" type="integer"/> |
<set name="months" order-by="month asc" lazy="true" cascade="all" inverse="true"> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/RepositoryFile.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<many-to-one name="owner" class="pt.estgp.estgweb.domain.GenericUser" outer-join="true" lazy="proxy"/> |
<many-to-one name="lastVersion" class="pt.estgp.estgweb.domain.RepositoryFileVersion" outer-join="true" lazy="false"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/DigitalDelivery.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="openDate" type="timestamp"/> |
<property name="closeDate" type="timestamp"/> |
35,7 → 35,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="name" type="string"/> |
<property name="description" type="text"/> |
<many-to-one name="parent" class="pt.estgp.estgweb.domain.DigitalDeliveryCategory" lazy="false" outer-join="true" column="parent_id"/> |
54,7 → 54,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="repositoryStream" type="string"/> |
<property name="notesReader" type="text"/> |
<property name="notesOwner" type="text"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Image.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="contentType" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Blog.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string" unique="true" index="nameIndex"/> |
<property name="title" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/ComunicationFolder.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string" index="nameIndex"/> |
<property name="code" type="string" index="codeIndex"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Teste.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="morada" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Assessment.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="title" type="string"/> |
<property name="type" type="string"/> |
<property name="year" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/BlogPost.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="month" type="int"/> |
<property name="year" type="int"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Announcement.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="startDate" type="timestamp"/> |
<property name="expireDate" type="timestamp"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/CourseUserAssociation.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="role" type="string"/> |
<many-to-one name="user" class="pt.estgp.estgweb.domain.User" outer-join="true" column="user_id"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/UrlStatDay.hbm.xml |
---|
17,7 → 17,7 |
</key-many-to-one> |
</composite-id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="date" type="date"/> |
<property name="totalClicks" type="integer"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/CourseUnit.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="semestre" type="string" index="semestreIndex"/> |
<property name="name" type="string" index="nameIndex"/> |
166,6 → 166,10 |
<key column="courseUnit"/> |
<one-to-many class="pt.estgp.estgweb.domain.CourseUnitGrade"/> |
</set> |
<set name="questionarioReportsDocentes" lazy="true" order-by="id asc" table="questionario_report_file_docente_units"> |
<key column="courseunit"/> |
<many-to-many class="pt.estgp.estgweb.domain.QuestionarioReportDocenteFile" column="reportdocentefile" /> |
</set> |
<subclass name="pt.estgp.estgweb.domain.CourseUnitImpl" discriminator-value="CourseUnitImpl"/> |
</class> |
176,7 → 180,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="question" type="text"/> |
<property name="answer" type="text"/> |
193,7 → 197,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="deliverDate" type="timestamp"/> |
<property name="deliverType" type="string"/> |
217,7 → 221,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="deliverDate" type="timestamp"/> |
<property name="grade" type="string"/> |
239,7 → 243,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="publishDate" type="timestamp"/> |
<property name="grade" type="int" index="gradeIndex"/> |
262,7 → 266,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="dataAula" type="timestamp"/> |
<property name="cdTipoOcupacao" type="int"/> |
291,7 → 295,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="bibliografia" type="text"/> |
<property name="bibliografiaComplementar" type="text"/> |
325,7 → 329,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="objectivos" type="text"/> |
<property name="conteudos" type="text"/> |
348,7 → 352,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="closed" type="boolean"/> |
<!-- todo update aos do ano anterior para meter todos os evaluations salvos com teacherComplete = true --> |
393,7 → 397,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="turma" type="string"/> |
<many-to-one name="courseUnit" class="pt.estgp.estgweb.domain.CourseUnit" lazy="proxy" outer-join="true"> |
422,7 → 426,7 |
<!--<generator class="native"/>--> |
<!--</id>--> |
<!--<discriminator column="discrimitator"/>--> |
<!--<timestamp source="db" name="updateDate" unsaved-value="null"/>--> |
<!--<timestamp name="updateDate" unsaved-value="null"/>--> |
<!--<property name="saveDate" type="timestamp"/>--> |
<!--<property name="deliverDate" type="timestamp"/>--> |
<!--<property name="deliverType" type="string"/>--> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Events.hbm.xml |
---|
12,7 → 12,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="description" type="string"> |
36,7 → 36,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<!--Controlo--> |
141,7 → 141,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="email" type="string"/> |
<property name="password" type="string"/> <!-- MD5 um user afeta a password sempre que se inscreve mas o email é a ponte para todos os seus registos --> |
184,7 → 184,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> <!-- devem apagados registos sem confirmacao de email após 48 horas --> |
<timestamp name="updateDate" unsaved-value="null"/> <!-- devem apagados registos sem confirmacao de email após 48 horas --> |
<property name="saveDate" type="timestamp"/> |
<property name="password" type="string"/> <!-- MD5 um user afeta a password sempre que se inscreve mas o email é a ponte para todos os seus registos --> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Questionarios.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="description" type="string"/> |
<property name="logStates" type="text"> |
213,7 → 213,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="codeName" type="string" unique="true"/> |
<property name="description" type="string"/> |
422,7 → 422,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="cdDocente" type="string"/> |
<property name="cdTurma" type="string"/> |
446,7 → 446,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<many-to-one name="aluno" class="pt.estgp.estgweb.domain.Student" lazy="proxy" outer-join="false"/> |
<many-to-one name="tipologiaRequisitada" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" lazy="proxy" outer-join="false" column="tipologia_requisitada"/> |
461,7 → 461,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="codigoInstituicao" type="string"/> |
<property name="nomeInstituicao" type="string"/> |
499,7 → 499,7 |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="codigoUnidade" type="string" index="codigoUnidadeIndex"/> |
<property name="nome" type="string"/> |
555,5 → 555,66 |
</class> |
<!--REPORTS--> |
<class name="pt.estgp.estgweb.domain.QuestionarioReportFileGroup" table="questionario_report_file_grp" abstract="true"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<meta attribute="scope-class">public abstract</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupImpl"> |
<meta attribute="scope-class">public abstract</meta> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAno"> |
<meta attribute="scope-class">public abstract</meta> |
<property name="importYear" type="string"/> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAnoImpl"> |
<meta attribute="scope-class">public abstract</meta> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAno"> |
<meta attribute="scope-class">public abstract</meta> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAnoImpl" discriminator-value="QuestionarioReportFileGroupCursosAnoImpl"/> |
</subclass> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAno"> |
<meta attribute="scope-class">public abstract</meta> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAnoImpl" discriminator-value="QuestionarioReportFileGroupDocentesAnoImpl"/> |
</subclass> |
</subclass> |
</subclass> |
</subclass> |
</class> |
<class name="pt.estgp.estgweb.domain.QuestionarioReportFile" table="questionario_report_file" abstract="true"> |
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
<meta attribute="scope-class">public abstract</meta> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
<discriminator column="discriminator"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="repositoryStream" type="string" index="repositoryIndex"/> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileImpl"> |
<meta attribute="scope-class">public abstract</meta> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFile"> |
<meta attribute="scope-class">public abstract</meta> |
<many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFileImpl" discriminator-value="QuestionarioReportCursoFileImpl"/> |
</subclass> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFile"> |
<meta attribute="scope-class">public abstract</meta> |
<many-to-one name="teacher" class="pt.estgp.estgweb.domain.Teacher" lazy="proxy" outer-join="false"/> |
<set name="courseUnits" lazy="true" order-by="name asc" table="questionario_report_file_docente_units"> |
<key column="reportdocentefile"/> |
<many-to-many class="pt.estgp.estgweb.domain.CourseUnit" column="courseunit" /> |
</set> |
<subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFileImpl" discriminator-value="QuestionarioReportDocenteFileImpl"/> |
</subclass> |
</subclass> |
</class> |
</hibernate-mapping> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Reminder.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="startDate" type="timestamp"/> |
<property name="expireDate" type="timestamp"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Configuration.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="interfaceImportYear" type="string"/> |
49,7 → 49,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<set name="epocasAvaliacao" order-by="codigoEpoca asc" lazy="true"> |
<key column="confGrade"/> |
70,7 → 70,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="codigoEpoca" type="string"/> |
<property name="codigoMomento" type="string"/> |
87,7 → 87,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="status" type="string"/> |
<property name="descricao" type="string"/> |
103,7 → 103,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="idDir" type="string"/> |
<property name="xml" type="text"> |
124,7 → 124,7 |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="role" type="string" unique="true"/> |
<property name="value" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/PageContent.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="title" type="string"/> |
<property name="code" type="string" unique="true"/> |
25,7 → 25,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="systemAuxiliaryCode" type="string"/> |
<property name="title" type="string"/> |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Job.hbm.xml |
---|
11,7 → 11,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="startDate" type="timestamp" index="startDateIndex"/> |
<property name="description" type="string"/> |
56,7 → 56,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="lastScheduleDate" type="timestamp"/> |
<property name="description" type="string"/> |
96,7 → 96,7 |
<generator class="native"/> |
</id> |
<discriminator column="discrimitator"/> |
<timestamp source="db" name="updateDate" unsaved-value="null"/> |
<timestamp name="updateDate" unsaved-value="null"/> |
<property name="saveDate" type="timestamp"/> |
<property name="name" type="string"/> |
<property name="description" type="string"/> |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoCursoAfeto.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Pagina.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.ArrayList; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitDeliverable.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitProgramPart2.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioPergunta.java |
---|
1,12 → 1,12 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapEntityQuestionarioPergunta generated by hbm2java |
*/ |
public class OlapEntityQuestionarioPergunta implements java.io.Serializable { |
public class OlapEntityQuestionarioPergunta extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioResposta.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioTipologia.java |
---|
1,19 → 1,19 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapEntityQuestionarioTipologia generated by hbm2java |
*/ |
public class OlapEntityQuestionarioTipologia implements java.io.Serializable { |
public class OlapEntityQuestionarioTipologia extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
private String codigoTipologia; |
private String descricao; |
private String codigoTurma; |
private long codigoSiges; |
private String codigoSiges; |
private String nome; |
private String bi; |
private String username; |
52,11 → 52,11 |
public void setCodigoTurma(String codigoTurma) { |
this.codigoTurma = codigoTurma; |
} |
public long getCodigoSiges() { |
public String getCodigoSiges() { |
return this.codigoSiges; |
} |
public void setCodigoSiges(long codigoSiges) { |
public void setCodigoSiges(String codigoSiges) { |
this.codigoSiges = codigoSiges; |
} |
public String getNome() { |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitBlog.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Reminder.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordEventOrganization.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordPaper.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Configuration.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageContent.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyStatsGraphic.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SessionObject.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.io.Serializable; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitBlogPost.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobParameter.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/GenericUser.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventGeneric.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventFormacoes.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ComunicationFolder.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Student.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitProgram.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitQuestion.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Announcement.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionario.java |
---|
1,12 → 1,12 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapEntityQuestionario generated by hbm2java |
*/ |
public class OlapEntityQuestionario implements java.io.Serializable { |
public class OlapEntityQuestionario extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDay.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Survey.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionPossibleAnswer.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordThesis.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageSection.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.ArrayList; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionCandidateAnswer.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordProject.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SruSourceCollection.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageExternalObject.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioAnswer.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
7,7 → 7,7 |
/** |
* OlapStarFactQuestionarioAnswer generated by hbm2java |
*/ |
public class OlapStarFactQuestionarioAnswer implements java.io.Serializable { |
public class OlapStarFactQuestionarioAnswer extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
17,6 → 17,7 |
private int intResposta; |
private OlapEntityQuestionarioTipologia olapTipologia; |
private OlapEntityQuestionarioUnidade olapUnidade; |
private OlapEntityQuestionarioCurso olapCurso; |
private OlapEntityQuestionario olapQuestionario; |
private OlapHistoryDimension olapTimeLine; |
private OlapEntityQuestionarioPergunta olapPergunta; |
76,6 → 77,13 |
public void setOlapUnidade(OlapEntityQuestionarioUnidade olapUnidade) { |
this.olapUnidade = olapUnidade; |
} |
public OlapEntityQuestionarioCurso getOlapCurso() { |
return this.olapCurso; |
} |
public void setOlapCurso(OlapEntityQuestionarioCurso olapCurso) { |
this.olapCurso = olapCurso; |
} |
public OlapEntityQuestionario getOlapQuestionario() { |
return this.olapQuestionario; |
} |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventClass.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordJob.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitTurma.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGradesStatusEpoca.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Teacher.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyResponse.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageRepositoryFile.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Record.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitSummary.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RepositoryFile.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ProcessEventFile.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ProcessEvent.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseYear.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Blog.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RepositoryFileVersion.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Assessment.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UserRoleConfig.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SessionObjectId.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/BlogPost.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SruSource.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoUnidadeCurricularAfeta.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ManagedIdentifier.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Course.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageExternalUrl.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitGrade.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonth.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionItem.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentResponse.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDayId.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Page.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseStudiesPlan.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoAlunoRequisitado.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTask.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Process.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/User.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventUser.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Image.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Questionario.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapHistoryDimension.java |
---|
1,12 → 1,12 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapHistoryDimension generated by hbm2java |
*/ |
public class OlapHistoryDimension implements java.io.Serializable { |
public class OlapHistoryDimension extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Teste.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioUnidade.java |
---|
1,22 → 1,22 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapEntityQuestionarioUnidade generated by hbm2java |
*/ |
public class OlapEntityQuestionarioUnidade implements java.io.Serializable { |
public class OlapEntityQuestionarioUnidade extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
private long codigo; |
private String codigo; |
private String nome; |
private String periodoSigesS1ouS2ouAouT1aT4; |
private String periodoPlanoS1T8; |
private String anoPlano1a4; |
private String semestrePlanoConvertido1a4; |
private String semestrePlanoAbsoluto1ou2; |
private int anoPlano1a4; |
private int semestrePlanoConvertido1a6; |
private int semestrePlanoAbsoluto1ou2; |
private Questionario questionario; |
public OlapEntityQuestionarioUnidade() { |
30,11 → 30,11 |
public void setId(long id) { |
this.id = id; |
} |
public long getCodigo() { |
public String getCodigo() { |
return this.codigo; |
} |
public void setCodigo(long codigo) { |
public void setCodigo(String codigo) { |
this.codigo = codigo; |
} |
public String getNome() { |
58,25 → 58,25 |
public void setPeriodoPlanoS1T8(String periodoPlanoS1T8) { |
this.periodoPlanoS1T8 = periodoPlanoS1T8; |
} |
public String getAnoPlano1a4() { |
public int getAnoPlano1a4() { |
return this.anoPlano1a4; |
} |
public void setAnoPlano1a4(String anoPlano1a4) { |
public void setAnoPlano1a4(int anoPlano1a4) { |
this.anoPlano1a4 = anoPlano1a4; |
} |
public String getSemestrePlanoConvertido1a4() { |
return this.semestrePlanoConvertido1a4; |
public int getSemestrePlanoConvertido1a6() { |
return this.semestrePlanoConvertido1a6; |
} |
public void setSemestrePlanoConvertido1a4(String semestrePlanoConvertido1a4) { |
this.semestrePlanoConvertido1a4 = semestrePlanoConvertido1a4; |
public void setSemestrePlanoConvertido1a6(int semestrePlanoConvertido1a6) { |
this.semestrePlanoConvertido1a6 = semestrePlanoConvertido1a6; |
} |
public String getSemestrePlanoAbsoluto1ou2() { |
public int getSemestrePlanoAbsoluto1ou2() { |
return this.semestrePlanoAbsoluto1ou2; |
} |
public void setSemestrePlanoAbsoluto1ou2(String semestrePlanoAbsoluto1ou2) { |
public void setSemestrePlanoAbsoluto1ou2(int semestrePlanoAbsoluto1ou2) { |
this.semestrePlanoAbsoluto1ou2 = semestrePlanoAbsoluto1ou2; |
} |
public Questionario getQuestionario() { |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestion.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionario.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
7,7 → 7,7 |
/** |
* OlapStarFactQuestionario generated by hbm2java |
*/ |
public class OlapStarFactQuestionario implements java.io.Serializable { |
public class OlapStarFactQuestionario extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
17,6 → 17,7 |
private Date dataFim; |
private OlapEntityQuestionarioTipologia olapTipologia; |
private OlapEntityQuestionarioUnidade olapUnidade; |
private OlapEntityQuestionarioCurso olapCurso; |
private OlapEntityQuestionario olapQuestionario; |
private OlapHistoryDimension olapTimeLine; |
private OlapEntityQuestionarioUser olapPerfilUser; |
75,6 → 76,13 |
public void setOlapUnidade(OlapEntityQuestionarioUnidade olapUnidade) { |
this.olapUnidade = olapUnidade; |
} |
public OlapEntityQuestionarioCurso getOlapCurso() { |
return this.olapCurso; |
} |
public void setOlapCurso(OlapEntityQuestionarioCurso olapCurso) { |
this.olapCurso = olapCurso; |
} |
public OlapEntityQuestionario getOlapQuestionario() { |
return this.olapQuestionario; |
} |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDeliveryTarget.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioUser.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
7,7 → 7,7 |
/** |
* OlapEntityQuestionarioUser generated by hbm2java |
*/ |
public class OlapEntityQuestionarioUser implements java.io.Serializable { |
public class OlapEntityQuestionarioUser extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Group.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationDirectory.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionItem.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUserAssociation.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYearId.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitAssignement.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioHistoryDrive.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioRespostaRequisitada.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnit.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
75,6 → 75,7 |
private Set<CourseUnitSummary> summaries = new HashSet<CourseUnitSummary>(0); |
private Set<CourseUnitTurma> turmas = new HashSet<CourseUnitTurma>(0); |
private Set<CourseUnitGrade> courseUnitGrades = new HashSet<CourseUnitGrade>(0); |
private Set<QuestionarioReportDocenteFile> questionarioReportsDocentes = new HashSet<QuestionarioReportDocenteFile>(0); |
public CourseUnit() { |
} |
521,6 → 522,13 |
public void setCourseUnitGrades(Set<CourseUnitGrade> courseUnitGrades) { |
this.courseUnitGrades = courseUnitGrades; |
} |
public Set<QuestionarioReportDocenteFile> getQuestionarioReportsDocentes() { |
return this.questionarioReportsDocentes; |
} |
public void setQuestionarioReportsDocentes(Set<QuestionarioReportDocenteFile> questionarioReportsDocentes) { |
this.questionarioReportsDocentes = questionarioReportsDocentes; |
} |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionAnswer.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGradesEpocaAvaliacao.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioCurso.java |
---|
1,12 → 1,12 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/** |
* OlapEntityQuestionarioCurso generated by hbm2java |
*/ |
public class OlapEntityQuestionarioCurso implements java.io.Serializable { |
public class OlapEntityQuestionarioCurso extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable { |
private long id; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoTipologiaRequisitada.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SigesUser.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Job.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.io.Serializable; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ManagedIdentifierCollection.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitAnnouncement.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskScheduler.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventGenericRecord.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestion.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskSchedulerParameter.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskParameter.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDeliveryCategory.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYear.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordOther.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDelivery.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonthId.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UserSession.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseDepartment.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/MetaProcess.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitEvaluation.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyStructuralNode.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.HashSet; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGrades.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionAnswer.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Seccao.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStat.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 4/Nov/2016 10:48:10 by Hibernate Tools 3.2.0.b9 |
// Generated 5/Nov/2016 8:58:05 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
/branches/v3/impl/build.xml |
---|
603,14 → 603,16 |
</target>--> |
<target name="generateUpdateHibernateSql" depends="build"> |
<!--<taskdef name="schemaupdate" |
classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask" |
classpathref="pathToToolsLib" classpath="${build.dir.classes}"/>--> |
<taskdef name="schemaupdate" |
classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask" |
classpathref="pathToToolsLib" classpath="${build.dir.classes}"/> |
classname="jomm.dao.utils.JommSchemaUpdateTask" |
classpathref="pathToToolsLib" classpath="${build.dir.classes}"/> |
<schemaupdate |
properties="${jdbc.properties.build}/${jdbc.properties.filename}" |
quiet="no" |
text="no"> |
quiet="false" |
text="false"> |
<fileset dir="${hbm.dir}"> |
<include name="**/*.hbm.xml"/> |
<!--<exclude name="**/Olap*.hbm.xml"/>--> |