Class Direccion

java.lang.Object
poo.javaevents.model.Direccion
All Implemented Interfaces:
Serializable

public class Direccion extends Object implements Serializable
Author:
Pablo García Hernández
See Also:
  • Constructor Details

    • Direccion

      public Direccion(String calle, int numero, String ciudad, int codigoPostal)
      Constructor
      Parameters:
      calle -
      numero -
      ciudad -
      codigoPostal -
  • Method Details

    • getCodigoPostal

      public int getCodigoPostal()
      Get the value of codigoPostal
      Returns:
      the value of codigoPostal
    • setCodigoPostal

      public void setCodigoPostal(int codigoPostal)
      Set the value of codigoPostal
      Parameters:
      codigoPostal - new value of codigoPostal
    • getCiudad

      public String getCiudad()
      Get the value of ciudad
      Returns:
      the value of ciudad
    • setCiudad

      public void setCiudad(String ciudad)
      Set the value of ciudad
      Parameters:
      ciudad - new value of ciudad
    • getNumero

      public int getNumero()
      Get the value of numero
      Returns:
      the value of numero
    • setNumero

      public void setNumero(int numero)
      Set the value of numero
      Parameters:
      numero - new value of numero
    • getCalle

      public String getCalle()
      Get the value of calle
      Returns:
      the value of calle
    • setCalle

      public void setCalle(String calle)
      Set the value of calle
      Parameters:
      calle - new value of calle