Class Vehicles


  • public class Vehicles
    extends Object
    The vehicles.
    Author:
    Christian Bremer
    • Constructor Detail

      • Vehicles

        public Vehicles()
    • Method Detail

      • getSeries

        public String getSeries()
        Gets series.
        Returns:
        the series
      • setSeries

        public void setSeries​(String series)
        Sets series.
        Parameters:
        series - the series
      • getYear

        public int getYear()
        Gets year.
        Returns:
        the year
      • setYear

        public void setYear​(int year)
        Sets year.
        Parameters:
        year - the year
      • getMonth

        public Integer getMonth()
        Gets month.
        Returns:
        the month
      • setMonth

        public void setMonth​(Integer month)
        Sets month.
        Parameters:
        month - the month
      • getEntries

        public List<Vehicle> getEntries()
        Gets entries.
        Returns:
        the entries
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object