package siprp.database.cayenne.objects.auto;

import java.util.List;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsRisco;

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

    public static final String DESCRIPTION_PROPERTY = "description";
    public static final String HS_RISCO_ARRAY_PROPERTY = "hsRiscoArray";

    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 addToHsRiscoArray(HsRisco obj) {
        addToManyTarget("hsRiscoArray", obj, true);
    }
    public void removeFromHsRiscoArray(HsRisco obj) {
        removeToManyTarget("hsRiscoArray", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<HsRisco> getHsRiscoArray() {
        return (List<HsRisco>)readProperty("hsRiscoArray");
    }


}
