@@ -0,0 +1,729 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage sekegex;%0Aimport DataType.DataDomain;%0A/**%0A *%0A * @author jopime%0A */%0Apublic class Domain %7B%0A    private DataDomain data;%0A    /**%0A     * Initialize with a calls to DB%0A     */%0A    public Domain(int id_domain)%7B%0A        this.data = consultDomain(id_domain);%0A    %7D%0A    %0A %0A    /**%0A     * Call the DB and consult the information for the domain specified%0A     * @param id_domain%0A     * @return Full atributes of domain%0A     */%0A    public DataDomain consultDomain(int id_domain)%7B%0A        return data; //Esto va fuera, hay que llamar a la DB%0A    %7D%0A%7D%0A

Create Domain class