11,6 → 11,7 |
</id> |
<property name="nome" type="string" index="nomeIndex"/> |
<property name="descricao" type="string"/> |
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" outer-join="false" lazy="proxy"/> |
</class> |
|
|
68,11 → 69,11 |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
<property name="codigo" type="string" index="codigoIndex"/> |
<property name="codigoTipologia" type="string" index="codigoIndex"/> |
<property name="descricao" type="string"/> |
<property name="codigo" type="string" index="codigoIndex"/> |
<property name="codigoTurma" type="string" index="codigoIndex"/> |
|
<property name="codigo" type="long" index="codigoIndex"/> |
<property name="codigoSiges" type="long" index="codigoIndex"/> |
<property name="nome" type="string"/> |
<property name="bi" type="string"/> |
<property name="username" type="string"/> |
85,8 → 86,8 |
|
|
|
<!-- |
<class name="pt.estgp.estgweb.domain.OlapStarQuestionario" table="olap_star_quest"> |
|
<class name="pt.estgp.estgweb.domain.OlapStarFactQuestionario" table="olap_star_quest"> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
94,25 → 95,26 |
<property name="dataInicio" type="timestamp"/> |
<property name="tempoTotal" type="long"/> |
<property name="dataFim" type="timestamp"/> |
<property name="questionario" type="long"/> |
|
<many-to-one name="tipologia" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioTipologia" outer-join="false" lazy="proxy"/> |
<many-to-one name="docente" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioDocente" outer-join="false" lazy="proxy"/> |
<many-to-one name="turma" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioTurma" outer-join="false" lazy="proxy"/> |
<many-to-one name="unidade" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUnidade" outer-join="false" lazy="proxy"/> |
<many-to-one name="curso" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioCurso" outer-join="false" lazy="proxy"/> |
<many-to-one name="instituicao" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioInstituicao" outer-join="false" lazy="proxy"/> |
<many-to-one name="cursoDegree" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioCursoDegree" outer-join="false" lazy="proxy"/> |
<many-to-one name="periodo" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioPeriodo" outer-join="false" lazy="proxy"/> |
<many-to-one name="ano" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioAno" outer-join="false" lazy="proxy"/> |
|
<many-to-one name="timeLine" class="pt.estgp.estgweb.domain.OlapHistoryDimension" outer-join="false" lazy="proxy"/> |
<!--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="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--> |
<many-to-one name="olapTimeLine" class="pt.estgp.estgweb.domain.OlapHistoryDimension" outer-join="false" lazy="proxy"/> |
|
<!--Desmultiplicadas das classes de resposta--> |
|
<many-to-one name="olapPerfilUser" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUser" outer-join="false" lazy="proxy"/> |
|
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" outer-join="false" lazy="proxy"/> |
</class>--> |
|
<class name="pt.estgp.estgweb.domain.OlapStarQuestionarioAnswer" table="olap_star_quest_answer"> |
|
</class> |
|
<class name="pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer" table="olap_star_quest_answer"> |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
122,18 → 124,20 |
<property name="intResposta" type="int" index="intResponseIndex"/> |
|
<!--Associação directa às classes de resposta--> |
<many-to-one name="tipologia" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioTipologia" outer-join="false" lazy="proxy"/> |
<many-to-one name="unidade" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUnidade" outer-join="false" lazy="proxy"/> |
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.OlapEntityQuestionario" outer-join="false" lazy="proxy"/> |
<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="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--> |
<many-to-one name="timeLine" class="pt.estgp.estgweb.domain.OlapHistoryDimension" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapTimeLine" class="pt.estgp.estgweb.domain.OlapHistoryDimension" outer-join="false" lazy="proxy"/> |
|
<!--Desmultiplicadas das classes de resposta--> |
<many-to-one name="pergunta" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioPergunta" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapPergunta" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioPergunta" outer-join="false" lazy="proxy"/> |
<many-to-one name="olapPerfilUser" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUser" outer-join="false" lazy="proxy"/> |
|
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" outer-join="false" lazy="proxy"/> |
|
<many-to-one name="perfilUser" class="pt.estgp.estgweb.domain.OlapEntityQuestionarioUser" outer-join="false" lazy="proxy"/> |
|
</class> |
|
|
141,7 → 145,8 |
<id name="id" type="long" unsaved-value="0"> |
<generator class="native"/> |
</id> |
<property name="grupo" type="string" index="grupoIndex"/> |
<property name="grupoCode" type="string" index="grupoCodeIndex"/> |
<property name="grupoTitle" type="string" index="grupoTitleIndex"/> |
<property name="pergunta" type="string" index="perguntaIndex"/> |
<property name="numero" type="string" index="numeroIndex"/> |
<many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" outer-join="false" lazy="proxy"/> |