CrazyDave23

Tarea 3 - Lectura de Ficheros - Clase

Jun 5th, 2017
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.85 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package definitivo;
  7.  
  8. /**
  9.  *
  10.  * @author david
  11.  */
  12. public class Clase {
  13.     private String provincia;
  14.     private String nombre;
  15.     private float distancia_chillan;
  16.     private float distancia_conce;
  17.     private float ahorro;
  18.  
  19.     /**
  20.      * @return the provincia
  21.      */
  22.     public String getProvincia() {
  23.         return provincia;
  24.     }
  25.  
  26.     /**
  27.      * @param provincia the provincia to set
  28.      */
  29.     public void setProvincia(String provincia) {
  30.         this.provincia = provincia;
  31.     }
  32.  
  33.     /**
  34.      * @return the nombre
  35.      */
  36.     public String getNombre() {
  37.         return nombre;
  38.     }
  39.  
  40.     /**
  41.      * @param nombre the nombre to set
  42.      */
  43.     public void setNombre(String nombre) {
  44.         this.nombre = nombre;
  45.     }
  46.  
  47.     /**
  48.      * @return the distancia_chillan
  49.      */
  50.     public float getDistancia_chillan() {
  51.         return distancia_chillan;
  52.     }
  53.  
  54.     /**
  55.      * @param distancia_chillan the distancia_chillan to set
  56.      */
  57.     public void setDistancia_chillan(float distancia_chillan) {
  58.         this.distancia_chillan = distancia_chillan;
  59.     }
  60.  
  61.     /**
  62.      * @return the distancia_conce
  63.      */
  64.     public float getDistancia_conce() {
  65.         return distancia_conce;
  66.     }
  67.  
  68.     /**
  69.      * @param distancia_conce the distancia_conce to set
  70.      */
  71.     public void setDistancia_conce(float distancia_conce) {
  72.         this.distancia_conce = distancia_conce;
  73.     }
  74.  
  75.     /**
  76.      * @return the ahorro
  77.      */
  78.     public float getAhorro() {
  79.         return ahorro;
  80.     }
  81.  
  82.     /**
  83.      * @param ahorro the ahorro to set
  84.      */
  85.     public void setAhorro(float ahorro) {
  86.         this.ahorro = ahorro;
  87.     }
  88. }
Add Comment
Please, Sign In to add comment