Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Persona {
- //Primer objetivo de la clase
- private String nombre;
- private String aPaterno;
- private String aMaterno;
- private int edad;
- //Segundo objetivo de la clase
- //Datos Fiscales
- private String RFC;
- private String moral;
- private String fisica;
- private String compañia;
- private String domFiscal;
- /**
- * @return the rFC
- */
- public String getRFC() {
- return RFC;
- }
- /**
- * @param rFC the rFC to set
- */
- public void setRFC(String rFC) {
- RFC = rFC;
- }
- /**
- * @return the moral
- */
- public String getMoral() {
- return moral;
- }
- /**
- * @param moral the moral to set
- */
- public void setMoral(String moral) {
- this.moral = moral;
- }
- /**
- * @return the fisica
- */
- public String getFisica() {
- return fisica;
- }
- /**
- * @param fisica the fisica to set
- */
- public void setFisica(String fisica) {
- this.fisica = fisica;
- }
- /**
- * @return the compañia
- */
- public String getCompañia() {
- return compañia;
- }
- /**
- * @param compañia the compañia to set
- */
- public void setCompañia(String compañia) {
- this.compañia = compañia;
- }
- /**
- * @return the domFiscal
- */
- public String getDomFiscal() {
- return domFiscal;
- }
- /**
- * @param domFiscal the domFiscal to set
- */
- public void setDomFiscal(String domFiscal) {
- this.domFiscal = domFiscal;
- }
- /**
- * @return the nombre
- */
- public String getNombre() {
- return nombre;
- }
- /**
- * @param nombre the nombre to set
- */
- public void setNombre(String nombre) {
- this.nombre = nombre;
- }
- /**
- * @return the aPaterno
- */
- public String getaPaterno() {
- return aPaterno;
- }
- /**
- * @param aPaterno the aPaterno to set
- */
- public void setaPaterno(String aPaterno) {
- this.aPaterno = aPaterno;
- }
- /**
- * @return the aMaterno
- */
- public String getaMaterno() {
- return aMaterno;
- }
- /**
- * @param aMaterno the aMaterno to set
- */
- public void setaMaterno(String aMaterno) {
- this.aMaterno = aMaterno;
- }
- /**
- * @return the edad
- */
- public int getEdad() {
- return edad;
- }
- /**
- * @param edad the edad to set
- */
- public void setEdad(int edad) {
- this.edad = edad;
- }
- }
Add Comment
Please, Sign In to add comment