Guest User

Untitled

a guest
Jun 25th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. public class Persona {
  2.  
  3. //Primer objetivo de la clase
  4. private String nombre;
  5. private String aPaterno;
  6. private String aMaterno;
  7. private int edad;
  8.  
  9. //Segundo objetivo de la clase
  10. //Datos Fiscales
  11. private String RFC;
  12. private String moral;
  13. private String fisica;
  14. private String compañia;
  15. private String domFiscal;
  16.  
  17.  
  18. /**
  19. * @return the rFC
  20. */
  21. public String getRFC() {
  22. return RFC;
  23. }
  24. /**
  25. * @param rFC the rFC to set
  26. */
  27. public void setRFC(String rFC) {
  28. RFC = rFC;
  29. }
  30. /**
  31. * @return the moral
  32. */
  33. public String getMoral() {
  34. return moral;
  35. }
  36. /**
  37. * @param moral the moral to set
  38. */
  39. public void setMoral(String moral) {
  40. this.moral = moral;
  41. }
  42. /**
  43. * @return the fisica
  44. */
  45. public String getFisica() {
  46. return fisica;
  47. }
  48. /**
  49. * @param fisica the fisica to set
  50. */
  51. public void setFisica(String fisica) {
  52. this.fisica = fisica;
  53. }
  54. /**
  55. * @return the compañia
  56. */
  57. public String getCompañia() {
  58. return compañia;
  59. }
  60. /**
  61. * @param compañia the compañia to set
  62. */
  63. public void setCompañia(String compañia) {
  64. this.compañia = compañia;
  65. }
  66. /**
  67. * @return the domFiscal
  68. */
  69. public String getDomFiscal() {
  70. return domFiscal;
  71. }
  72. /**
  73. * @param domFiscal the domFiscal to set
  74. */
  75. public void setDomFiscal(String domFiscal) {
  76. this.domFiscal = domFiscal;
  77. }
  78. /**
  79. * @return the nombre
  80. */
  81. public String getNombre() {
  82. return nombre;
  83. }
  84. /**
  85. * @param nombre the nombre to set
  86. */
  87. public void setNombre(String nombre) {
  88. this.nombre = nombre;
  89. }
  90. /**
  91. * @return the aPaterno
  92. */
  93. public String getaPaterno() {
  94. return aPaterno;
  95. }
  96. /**
  97. * @param aPaterno the aPaterno to set
  98. */
  99. public void setaPaterno(String aPaterno) {
  100. this.aPaterno = aPaterno;
  101. }
  102. /**
  103. * @return the aMaterno
  104. */
  105. public String getaMaterno() {
  106. return aMaterno;
  107. }
  108. /**
  109. * @param aMaterno the aMaterno to set
  110. */
  111. public void setaMaterno(String aMaterno) {
  112. this.aMaterno = aMaterno;
  113. }
  114. /**
  115. * @return the edad
  116. */
  117. public int getEdad() {
  118. return edad;
  119. }
  120. /**
  121. * @param edad the edad to set
  122. */
  123. public void setEdad(int edad) {
  124. this.edad = edad;
  125. }
  126.  
  127. }
Add Comment
Please, Sign In to add comment