package siprp.database.cayenne.objects.auto;

/** Class _TiposExamesComp 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 _TiposExamesComp extends siprp.database.cayenne.objects.BaseObject {

    public static final String DESCRICAO_PROPERTY = "descricao";
    public static final String ID_PROPERTY = "id";
    public static final String ORDEM_PROPERTY = "ordem";
    public static final String EXAMES_PERFIS_ARRAY_PROPERTY = "examesPerfisArray";

    public static final String ID_PK_COLUMN = "id";

    public void setDescricao(String descricao) {
        writeProperty("descricao", descricao);
    }
    public String getDescricao() {
        return (String)readProperty("descricao");
    }
    
    
    public void setId(Integer id) {
        writeProperty("id", id);
    }
    public Integer getId() {
        return (Integer)readProperty("id");
    }
    
    
    public void setOrdem(Integer ordem) {
        writeProperty("ordem", ordem);
    }
    public Integer getOrdem() {
        return (Integer)readProperty("ordem");
    }
    
    
    public void addToExamesPerfisArray(siprp.database.cayenne.objects.ExamesPerfis obj) {
        addToManyTarget("examesPerfisArray", obj, true);
    }
    public void removeFromExamesPerfisArray(siprp.database.cayenne.objects.ExamesPerfis obj) {
        removeToManyTarget("examesPerfisArray", obj, true);
    }
    public java.util.List getExamesPerfisArray() {
        return (java.util.List)readProperty("examesPerfisArray");
    }
    
    
}
