Class Vehicle

java.lang.Object
org.bremersee.xml.test.model.xml2.Vehicle

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

    • Vehicle

      public Vehicle()
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object