Class Auto


  • @Entity(name="RelationAuto")
    public class Auto
    extends Object
    This class is an example of the inverse/parent side of a one-to-one, bi-directional relationship that allows 0..1 and changing related entities.
    • Constructor Detail

      • Auto

        public Auto()
    • Method Detail

      • getId

        public int getId()
      • setType

        public void setType​(Auto.Type type)
      • getDriver

        public Driver getDriver()
      • setDriver

        public void setDriver​(Driver driver)