MCPcopy Create free account
hub / github.com/JerePrograma/FullStackEgg / Alquiler

Class Alquiler

Etapa3Herencia/Ejercicio1Extra/src/entidad/Alquiler.java:18–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16import java.util.Date;
17
18public class Alquiler {
19
20 private String nombre;
21 private long documento;
22 private Date fechaAlquiler;
23 private Date devolucion;
24 private int posicionAmarre;
25 private Barco barco;
26
27 public String getNombre() {
28 return nombre;
29 }
30
31 public void setNombre(String nombre) {
32 this.nombre = nombre;
33 }
34
35 public long getDocumento() {
36 return documento;
37 }
38
39 public void setDocumento(long documento) {
40 this.documento = documento;
41 }
42
43 public Date getFechaAlquiler() {
44 return fechaAlquiler;
45 }
46
47 public void setFechaAlquiler(Date fechaAlquiler) {
48 this.fechaAlquiler = fechaAlquiler;
49 }
50
51 public Date getDevolucion() {
52 return devolucion;
53 }
54
55 public void setDevolucion(Date devolucion) {
56 this.devolucion = devolucion;
57 }
58
59 public int getPosicionAmarre() {
60 return posicionAmarre;
61 }
62
63 public void setPosicionAmarre(int posicionAmarre) {
64 this.posicionAmarre = posicionAmarre;
65 }
66
67 public Barco getBarco() {
68 return barco;
69 }
70
71 public void setBarco(Barco barco) {
72 this.barco = barco;
73 }
74
75}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected