Class Vehicle


  • public class Vehicle
    extends Object
    The vehicle.
    Author:
    Christian Bremer
    • Constructor Detail

      • Vehicle

        public Vehicle()
    • Method Detail

      • getBrand

        public String getBrand()
        Gets brand.
        Returns:
        the brand
      • setBrand

        public void setBrand​(String brand)
        Sets brand.
        Parameters:
        brand - the brand
      • getModel

        public String getModel()
        Gets model.
        Returns:
        the model
      • setModel

        public void setModel​(String model)
        Sets model.
        Parameters:
        model - the model
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object