java.lang.Object
com.mirna.hospitalmanagementapi.domain.entities.Address

@Embeddable public class Address extends Object
Version:
1.0
Author:
Mirna Gama
  • Constructor Details

    • Address

      public Address()
    • Address

      public Address(AddressDTO addressDTO)
      Constructor for class Address
      Parameters:
      addressDTO - Data transfer object containing Address information
      See Also:
  • Method Details

    • getStreet

      public String getStreet()
      Returns the street
      Returns:
      A string representing the street.
    • setStreet

      public void setStreet(String street)
      Sets the street
      Parameters:
      street - Must not be blank.
    • getNeighborhood

      public String getNeighborhood()
      Returns the neighborhood
      Returns:
      A string representing the neighborhood.
    • setNeighborhood

      public void setNeighborhood(String neighborhood)
      Sets the neighborhood
      Parameters:
      neighborhood - Must not be blank.
    • getZipCode

      public String getZipCode()
      Returns the zip code
      Returns:
      A string representing the zip code.
    • setZipCode

      public void setZipCode(String zipCode)
      Sets the zip code
      Parameters:
      zipCode - Must not be blank.
    • getCity

      public String getCity()
      Returns the city
      Returns:
      A string representing the city.
    • setCity

      public void setCity(String city)
      Sets the city
      Parameters:
      city - Must not be blank.
    • getState

      public String getState()
      Returns the state
      Returns:
      A string representing the state.
    • setState

      public void setState(String state)
      Sets the state
      Parameters:
      state - Must not be blank.
    • getAdditionalDetails

      public String getAdditionalDetails()
      Returns the additional details
      Returns:
      A string representing the additional details.
    • setAdditionalDetails

      public void setAdditionalDetails(String additionalDetails)
      Sets the additional details
      Parameters:
      additionalDetails - Not required
    • getHouseNumber

      public String getHouseNumber()
      Returns the house number
      Returns:
      A string representing the house number.
    • setHouseNumber

      public void setHouseNumber(String houseNumber)
      Sets the house number
      Parameters:
      houseNumber - Not required