package siprp.database.cayenne.objects.auto;

import java.util.List;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsPostoRisco;
import siprp.database.cayenne.objects.HsRelatorioPostoRisco;

/**
 * Class _HsRelatorioRiscoValorQualitativo 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 _HsRelatorioRiscoValorQualitativo extends BaseObject {

    public static final String DESCRIPTION_PROPERTY = "description";
    public static final String HS_POSTO_RISCO_ARRAY_PROPERTY = "hsPostoRiscoArray";
    public static final String HS_RELATORIO_POSTO_RISCO_ARRAY_PROPERTY = "hsRelatorioPostoRiscoArray";

    public static final String ID_PK_COLUMN = "id";

    public void setDescription(String description) {
        writeProperty("description", description);
    }
    public String getDescription() {
        return (String)readProperty("description");
    }

    public void addToHsPostoRiscoArray(HsPostoRisco obj) {
        addToManyTarget("hsPostoRiscoArray", obj, true);
    }
    public void removeFromHsPostoRiscoArray(HsPostoRisco obj) {
        removeToManyTarget("hsPostoRiscoArray", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<HsPostoRisco> getHsPostoRiscoArray() {
        return (List<HsPostoRisco>)readProperty("hsPostoRiscoArray");
    }


    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");
    }


}
