@TypeAlias(value="person")
public class Person
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Person() |
|
Person(java.lang.String name,
int socialSecurityNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAccount(Account account) |
java.util.List<Account> |
getAccounts() |
org.bson.types.ObjectId |
getId() |
java.lang.String |
getName() |
int |
getSocialSecurityNumber() |