forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@783 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
8f4877b404
commit
b68a057336
@ -0,0 +1,39 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.HsPosto;
|
||||
|
||||
/**
|
||||
* Class _HsPostoEstabelecimento was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsPostoEstabelecimento extends BaseObject {
|
||||
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TO_HS_POSTO_PROPERTY = "toHsPosto";
|
||||
|
||||
public static final String ESTABELECIMENTO_ID_PK_COLUMN = "estabelecimento_id";
|
||||
public static final String POSTO_ID_PK_COLUMN = "posto_id";
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsPosto(HsPosto toHsPosto) {
|
||||
setToOneTarget("toHsPosto", toHsPosto, true);
|
||||
}
|
||||
|
||||
public HsPosto getToHsPosto() {
|
||||
return (HsPosto)readProperty("toHsPosto");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.HsMedida;
|
||||
import siprp.database.cayenne.objects.HsPosto;
|
||||
|
||||
/**
|
||||
* Class _HsPostoMedida was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsPostoMedida extends BaseObject {
|
||||
|
||||
public static final String TO_HS_MEDIDA_PROPERTY = "toHsMedida";
|
||||
public static final String TO_HS_POSTO_PROPERTY = "toHsPosto";
|
||||
|
||||
public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
|
||||
public static final String POSTO_ID_PK_COLUMN = "posto_id";
|
||||
|
||||
public void setToHsMedida(HsMedida toHsMedida) {
|
||||
setToOneTarget("toHsMedida", toHsMedida, true);
|
||||
}
|
||||
|
||||
public HsMedida getToHsMedida() {
|
||||
return (HsMedida)readProperty("toHsMedida");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsPosto(HsPosto toHsPosto) {
|
||||
setToOneTarget("toHsPosto", toHsPosto, true);
|
||||
}
|
||||
|
||||
public HsPosto getToHsPosto() {
|
||||
return (HsPosto)readProperty("toHsPosto");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.HsPosto;
|
||||
import siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo;
|
||||
import siprp.database.cayenne.objects.HsRisco;
|
||||
|
||||
/**
|
||||
* Class _HsPostoRisco was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsPostoRisco extends CayenneDataObject {
|
||||
|
||||
public static final String IS_PLANO_ACTUACAO_PROPERTY = "isPlanoActuacao";
|
||||
public static final String PROBABILIDADE_PROPERTY = "probabilidade";
|
||||
public static final String SEVERIDADE_PROPERTY = "severidade";
|
||||
public static final String VALOR_QUALITATIVO_PROPERTY = "valorQualitativo";
|
||||
public static final String TO_HS_POSTO_PROPERTY = "toHsPosto";
|
||||
public static final String TO_HS_RELATORIO_RISCO_VALOR_QUALITATIVO_PROPERTY = "toHsRelatorioRiscoValorQualitativo";
|
||||
public static final String TO_HS_RISCO_PROPERTY = "toHsRisco";
|
||||
|
||||
public static final String POSTO_ID_PK_COLUMN = "posto_id";
|
||||
public static final String RISCO_ID_PK_COLUMN = "risco_id";
|
||||
|
||||
public void setIsPlanoActuacao(String isPlanoActuacao) {
|
||||
writeProperty("isPlanoActuacao", isPlanoActuacao);
|
||||
}
|
||||
public String getIsPlanoActuacao() {
|
||||
return (String)readProperty("isPlanoActuacao");
|
||||
}
|
||||
|
||||
public void setProbabilidade(Integer probabilidade) {
|
||||
writeProperty("probabilidade", probabilidade);
|
||||
}
|
||||
public Integer getProbabilidade() {
|
||||
return (Integer)readProperty("probabilidade");
|
||||
}
|
||||
|
||||
public void setSeveridade(Integer severidade) {
|
||||
writeProperty("severidade", severidade);
|
||||
}
|
||||
public Integer getSeveridade() {
|
||||
return (Integer)readProperty("severidade");
|
||||
}
|
||||
|
||||
public void setValorQualitativo(Integer valorQualitativo) {
|
||||
writeProperty("valorQualitativo", valorQualitativo);
|
||||
}
|
||||
public Integer getValorQualitativo() {
|
||||
return (Integer)readProperty("valorQualitativo");
|
||||
}
|
||||
|
||||
public void setToHsPosto(HsPosto toHsPosto) {
|
||||
setToOneTarget("toHsPosto", toHsPosto, true);
|
||||
}
|
||||
|
||||
public HsPosto getToHsPosto() {
|
||||
return (HsPosto)readProperty("toHsPosto");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRelatorioRiscoValorQualitativo(HsRelatorioRiscoValorQualitativo toHsRelatorioRiscoValorQualitativo) {
|
||||
setToOneTarget("toHsRelatorioRiscoValorQualitativo", toHsRelatorioRiscoValorQualitativo, true);
|
||||
}
|
||||
|
||||
public HsRelatorioRiscoValorQualitativo getToHsRelatorioRiscoValorQualitativo() {
|
||||
return (HsRelatorioRiscoValorQualitativo)readProperty("toHsRelatorioRiscoValorQualitativo");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRisco(HsRisco toHsRisco) {
|
||||
setToOneTarget("toHsRisco", toHsRisco, true);
|
||||
}
|
||||
|
||||
public HsRisco getToHsRisco() {
|
||||
return (HsRisco)readProperty("toHsRisco");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.HsRelatorioPosto;
|
||||
|
||||
/**
|
||||
* Class _HsRelatorioArea was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsRelatorioArea extends BaseObject {
|
||||
|
||||
public static final String DELETED_DATE_PROPERTY = "deletedDate";
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String HS_RELATORIO_POSTO_ARRAY_PROPERTY = "hsRelatorioPostoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDeletedDate(Date deletedDate) {
|
||||
writeProperty("deletedDate", deletedDate);
|
||||
}
|
||||
public Date getDeletedDate() {
|
||||
return (Date)readProperty("deletedDate");
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void addToHsRelatorioPostoArray(HsRelatorioPosto obj) {
|
||||
addToManyTarget("hsRelatorioPostoArray", obj, true);
|
||||
}
|
||||
public void removeFromHsRelatorioPostoArray(HsRelatorioPosto obj) {
|
||||
removeToManyTarget("hsRelatorioPostoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<HsRelatorioPosto> getHsRelatorioPostoArray() {
|
||||
return (List<HsRelatorioPosto>)readProperty("hsRelatorioPostoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,74 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.HsRelatorioArea;
|
||||
import siprp.database.cayenne.objects.HsRelatorioPostoMedida;
|
||||
import siprp.database.cayenne.objects.HsRelatorioPostoRisco;
|
||||
|
||||
/**
|
||||
* Class _HsRelatorioPosto was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsRelatorioPosto extends BaseObject {
|
||||
|
||||
public static final String DELETED_DATE_PROPERTY = "deletedDate";
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String HS_RELATORIO_POSTO_MEDIDA_ARRAY_PROPERTY = "hsRelatorioPostoMedidaArray";
|
||||
public static final String HS_RELATORIO_POSTO_RISCO_ARRAY_PROPERTY = "hsRelatorioPostoRiscoArray";
|
||||
public static final String TO_HS_RELATORIO_AREA_PROPERTY = "toHsRelatorioArea";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDeletedDate(Date deletedDate) {
|
||||
writeProperty("deletedDate", deletedDate);
|
||||
}
|
||||
public Date getDeletedDate() {
|
||||
return (Date)readProperty("deletedDate");
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void addToHsRelatorioPostoMedidaArray(HsRelatorioPostoMedida obj) {
|
||||
addToManyTarget("hsRelatorioPostoMedidaArray", obj, true);
|
||||
}
|
||||
public void removeFromHsRelatorioPostoMedidaArray(HsRelatorioPostoMedida obj) {
|
||||
removeToManyTarget("hsRelatorioPostoMedidaArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<HsRelatorioPostoMedida> getHsRelatorioPostoMedidaArray() {
|
||||
return (List<HsRelatorioPostoMedida>)readProperty("hsRelatorioPostoMedidaArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToHsRelatorioPostoRiscoArray(HsRelatorioPostoRisco obj) {
|
||||
addToManyTarget("hsRelatorioPostoRiscoArray", obj, true);
|
||||
}
|
||||
public void removeFromHsRelatorioPostoRiscoArray(HsRelatorioPostoRisco obj) {
|
||||
removeToManyTarget("hsRelatorioPostoRiscoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<HsRelatorioPostoRisco> getHsRelatorioPostoRiscoArray() {
|
||||
return (List<HsRelatorioPostoRisco>)readProperty("hsRelatorioPostoRiscoArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRelatorioArea(HsRelatorioArea toHsRelatorioArea) {
|
||||
setToOneTarget("toHsRelatorioArea", toHsRelatorioArea, true);
|
||||
}
|
||||
|
||||
public HsRelatorioArea getToHsRelatorioArea() {
|
||||
return (HsRelatorioArea)readProperty("toHsRelatorioArea");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.HsRelatorioMedida;
|
||||
import siprp.database.cayenne.objects.HsRelatorioPosto;
|
||||
|
||||
/**
|
||||
* Class _HsRelatorioPostoMedida was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsRelatorioPostoMedida extends BaseObject {
|
||||
|
||||
public static final String TO_HS_RELATORIO_MEDIDA_PROPERTY = "toHsRelatorioMedida";
|
||||
public static final String TO_HS_RELATORIO_POSTO_PROPERTY = "toHsRelatorioPosto";
|
||||
|
||||
public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
|
||||
public static final String POSTO_ID_PK_COLUMN = "posto_id";
|
||||
|
||||
public void setToHsRelatorioMedida(HsRelatorioMedida toHsRelatorioMedida) {
|
||||
setToOneTarget("toHsRelatorioMedida", toHsRelatorioMedida, true);
|
||||
}
|
||||
|
||||
public HsRelatorioMedida getToHsRelatorioMedida() {
|
||||
return (HsRelatorioMedida)readProperty("toHsRelatorioMedida");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRelatorioPosto(HsRelatorioPosto toHsRelatorioPosto) {
|
||||
setToOneTarget("toHsRelatorioPosto", toHsRelatorioPosto, true);
|
||||
}
|
||||
|
||||
public HsRelatorioPosto getToHsRelatorioPosto() {
|
||||
return (HsRelatorioPosto)readProperty("toHsRelatorioPosto");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.HsRelatorioPosto;
|
||||
import siprp.database.cayenne.objects.HsRelatorioRisco;
|
||||
import siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo;
|
||||
|
||||
/**
|
||||
* Class _HsRelatorioPostoRisco was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HsRelatorioPostoRisco extends BaseObject {
|
||||
|
||||
public static final String PROBABILIDADE_PROPERTY = "probabilidade";
|
||||
public static final String SEVERIDADE_PROPERTY = "severidade";
|
||||
public static final String TO_HS_RELATORIO_POSTO_PROPERTY = "toHsRelatorioPosto";
|
||||
public static final String TO_HS_RELATORIO_RISCO_PROPERTY = "toHsRelatorioRisco";
|
||||
public static final String TO_HS_RELATORIO_RISCO_VALOR_QUALITATIVO_PROPERTY = "toHsRelatorioRiscoValorQualitativo";
|
||||
|
||||
public static final String POSTO_ID_PK_COLUMN = "posto_id";
|
||||
public static final String RISCO_ID_PK_COLUMN = "risco_id";
|
||||
|
||||
public void setProbabilidade(Integer probabilidade) {
|
||||
writeProperty("probabilidade", probabilidade);
|
||||
}
|
||||
public Integer getProbabilidade() {
|
||||
return (Integer)readProperty("probabilidade");
|
||||
}
|
||||
|
||||
public void setSeveridade(Integer severidade) {
|
||||
writeProperty("severidade", severidade);
|
||||
}
|
||||
public Integer getSeveridade() {
|
||||
return (Integer)readProperty("severidade");
|
||||
}
|
||||
|
||||
public void setToHsRelatorioPosto(HsRelatorioPosto toHsRelatorioPosto) {
|
||||
setToOneTarget("toHsRelatorioPosto", toHsRelatorioPosto, true);
|
||||
}
|
||||
|
||||
public HsRelatorioPosto getToHsRelatorioPosto() {
|
||||
return (HsRelatorioPosto)readProperty("toHsRelatorioPosto");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRelatorioRisco(HsRelatorioRisco toHsRelatorioRisco) {
|
||||
setToOneTarget("toHsRelatorioRisco", toHsRelatorioRisco, true);
|
||||
}
|
||||
|
||||
public HsRelatorioRisco getToHsRelatorioRisco() {
|
||||
return (HsRelatorioRisco)readProperty("toHsRelatorioRisco");
|
||||
}
|
||||
|
||||
|
||||
public void setToHsRelatorioRiscoValorQualitativo(HsRelatorioRiscoValorQualitativo toHsRelatorioRiscoValorQualitativo) {
|
||||
setToOneTarget("toHsRelatorioRiscoValorQualitativo", toHsRelatorioRiscoValorQualitativo, true);
|
||||
}
|
||||
|
||||
public HsRelatorioRiscoValorQualitativo getToHsRelatorioRiscoValorQualitativo() {
|
||||
return (HsRelatorioRiscoValorQualitativo)readProperty("toHsRelatorioRiscoValorQualitativo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue