1 | /* |
---|
2 | Copyright (C) 2012 |
---|
3 | Alejandro Mujica (amujica@cenditel.gob.ve) |
---|
4 | Erwin Paredes (eparedes@cenditel.gob.ve) |
---|
5 | José Ruiz (jruiz@cenditel.gob.ve) |
---|
6 | Rodolfo Rangel (rrangel@cenditel.gob.ve) |
---|
7 | Julie Vera (jvera@cenditel.gob.ve) |
---|
8 | |
---|
9 | CENDITEL Fundación Centro Nacional de Desarrollo e Investigación en |
---|
10 | Tecnologías Libres |
---|
11 | |
---|
12 | Este programa es software libre; Usted puede usarlo bajo los términos de la |
---|
13 | licencia de software GPL versión 2.0 de la Free Software Foundation. |
---|
14 | |
---|
15 | Este programa se distribuye con la esperanza de que sea útil, pero SIN |
---|
16 | NINGUNA GARANTÍA; tampoco las implícitas garantías de MERCANTILIDAD o |
---|
17 | ADECUACIÓN A UN PROPÓSITO PARTICULAR. |
---|
18 | Consulte la licencia GPL para más detalles. Usted debe recibir una copia |
---|
19 | de la GPL junto con este programa; si no, escriba a la Free Software |
---|
20 | Foundation Inc. 51 Franklin Street,5 Piso, Boston, MA 02110-1301, USA. |
---|
21 | */ |
---|
22 | |
---|
23 | /* |
---|
24 | Autor: Alejandro J. Mujica |
---|
25 | Fecha de creación: 10/09/2013 |
---|
26 | Este archivo contiene la definición de la clase Company. |
---|
27 | */ |
---|
28 | |
---|
29 | # ifndef COMPANY_H |
---|
30 | # define COMPANY_H |
---|
31 | |
---|
32 | # include <string> |
---|
33 | |
---|
34 | /** Clase que representa una unidad económica. |
---|
35 | * |
---|
36 | * Esta clase contiene la información necesaria de una unidad económica en |
---|
37 | * Sigesic. |
---|
38 | * |
---|
39 | * @author Alejandro J. Mujica |
---|
40 | */ |
---|
41 | class Company { |
---|
42 | |
---|
43 | long id; |
---|
44 | |
---|
45 | std::string rif; |
---|
46 | |
---|
47 | std::string name; // Razón social |
---|
48 | |
---|
49 | std::string nationality; |
---|
50 | |
---|
51 | std::string origCountry; // País de origen de la empresa |
---|
52 | |
---|
53 | std::string procCountry; // País de procedencia de la empresa |
---|
54 | |
---|
55 | public: |
---|
56 | Company(); |
---|
57 | |
---|
58 | Company(const Company &); |
---|
59 | |
---|
60 | Company(Company &&); |
---|
61 | |
---|
62 | const long & getId() const; |
---|
63 | |
---|
64 | void setId(const long &); |
---|
65 | |
---|
66 | const std::string & getRif() const; |
---|
67 | |
---|
68 | void setRif(const std::string &); |
---|
69 | |
---|
70 | void setRif(std::string &&); |
---|
71 | |
---|
72 | const std::string & getName() const; |
---|
73 | |
---|
74 | void setName(const std::string &); |
---|
75 | |
---|
76 | void setName(std::string &&); |
---|
77 | |
---|
78 | const std::string & getNationality() const; |
---|
79 | |
---|
80 | void setNationality(const std::string &); |
---|
81 | |
---|
82 | void setNationality(std::string &&); |
---|
83 | |
---|
84 | const std::string & getOrigCountry() const; |
---|
85 | |
---|
86 | void setOrigCountry(const std::string &); |
---|
87 | |
---|
88 | void setOrigCountry(std::string &&); |
---|
89 | |
---|
90 | const std::string & getProcCountry() const; |
---|
91 | |
---|
92 | void setProcCountry(const std::string &); |
---|
93 | |
---|
94 | void setProcCountry(std::string &&); |
---|
95 | |
---|
96 | Company & operator = (const Company &); |
---|
97 | |
---|
98 | Company & operator = (Company &&); |
---|
99 | }; |
---|
100 | |
---|
101 | # endif // COMPANY_H |
---|
102 | |
---|