package siprp.database.cayenne.objects.auto;

/** Class _Contactos 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 _Contactos extends org.apache.cayenne.CayenneDataObject {

    public static final String CARGO_PROPERTY = "cargo";
    public static final String EMAIL_PROPERTY = "email";
    public static final String FAX_PROPERTY = "fax";
    public static final String NOME_PROPERTY = "nome";
    public static final String TELEFONE_PROPERTY = "telefone";
    public static final String TELEMOVEL_PROPERTY = "telemovel";
    public static final String EMPRESAS_ARRAY_PROPERTY = "empresasArray";
    public static final String EMPRESAS_ARRAY1_PROPERTY = "empresasArray1";
    public static final String PRESTADORES_ARRAY_PROPERTY = "prestadoresArray";

    public static final String ID_PK_COLUMN = "id";

    public void setCargo(String cargo) {
        writeProperty("cargo", cargo);
    }
    public String getCargo() {
        return (String)readProperty("cargo");
    }
    
    
    public void setEmail(String email) {
        writeProperty("email", email);
    }
    public String getEmail() {
        return (String)readProperty("email");
    }
    
    
    public void setFax(String fax) {
        writeProperty("fax", fax);
    }
    public String getFax() {
        return (String)readProperty("fax");
    }
    
    
    public void setNome(String nome) {
        writeProperty("nome", nome);
    }
    public String getNome() {
        return (String)readProperty("nome");
    }
    
    
    public void setTelefone(String telefone) {
        writeProperty("telefone", telefone);
    }
    public String getTelefone() {
        return (String)readProperty("telefone");
    }
    
    
    public void setTelemovel(String telemovel) {
        writeProperty("telemovel", telemovel);
    }
    public String getTelemovel() {
        return (String)readProperty("telemovel");
    }
    
    
    public void addToEmpresasArray(siprp.database.cayenne.objects.Empresas obj) {
        addToManyTarget("empresasArray", obj, true);
    }
    public void removeFromEmpresasArray(siprp.database.cayenne.objects.Empresas obj) {
        removeToManyTarget("empresasArray", obj, true);
    }
    public java.util.List getEmpresasArray() {
        return (java.util.List)readProperty("empresasArray");
    }
    
    
    public void addToEmpresasArray1(siprp.database.cayenne.objects.Empresas obj) {
        addToManyTarget("empresasArray1", obj, true);
    }
    public void removeFromEmpresasArray1(siprp.database.cayenne.objects.Empresas obj) {
        removeToManyTarget("empresasArray1", obj, true);
    }
    public java.util.List getEmpresasArray1() {
        return (java.util.List)readProperty("empresasArray1");
    }
    
    
    public void addToPrestadoresArray(siprp.database.cayenne.objects.Prestadores obj) {
        addToManyTarget("prestadoresArray", obj, true);
    }
    public void removeFromPrestadoresArray(siprp.database.cayenne.objects.Prestadores obj) {
        removeToManyTarget("prestadoresArray", obj, true);
    }
    public java.util.List getPrestadoresArray() {
        return (java.util.List)readProperty("prestadoresArray");
    }
    
    
}
