Class Applicant


  • @Entity
    public class Applicant
    extends Object
    The class provides a set of OneToOne relationship examples. It contains a uni-directional, non-primary key relationship to Person and a bi-directional, non-primary key relationship with Borrower. In both cases the Applicant owns the relationship. This means that the foreign key forming the relationships will exist in the Applicant's table.
    • Field Detail

      • log

        private static org.slf4j.Logger log
      • id

        private long id
      • identity

        private Person identity
    • Constructor Detail

      • Applicant

        public Applicant()
    • Method Detail

      • getId

        public long getId()
      • getBorrower

        public Borrower getBorrower()
      • setBorrower

        public void setBorrower​(Borrower borrower)
      • getIdentity

        public Person getIdentity()
      • setIdentity

        public void setIdentity​(Person identity)
      • myInstance

        private String myInstance()