Class Person

java.lang.Object
de.bwaldvogel.mongo.entity.Person

@TypeAlias("person") public class Person extends Object
  • Constructor Details

    • Person

      protected Person()
    • Person

      public Person(String name, int socialSecurityNumber)
  • Method Details

    • getId

      public org.bson.types.ObjectId getId()
    • getName

      public String getName()
    • getSocialSecurityNumber

      public int getSocialSecurityNumber()
    • getAccounts

      public List<Account> getAccounts()
    • addAccount

      public void addAccount(Account account)