Methods Summary |
---|
public boolean | equals(java.lang.Object other)
if (other instanceof Person) {
Person that = (Person) other;
return that.isDeleted() == deleted && that.getUserId().equals(userId);
}
else {
return false;
}
|
public java.util.Set | getAccounts()
return accounts;
|
public Address | getAddress()
return address;
|
public java.lang.Long | getId()
return id;
|
public java.lang.String | getName()
return name;
|
public java.lang.String | getUserId()
return userId;
|
public int | hashCode()
return userId.hashCode();
|
public boolean | isDeleted()
return deleted;
|
public void | setAccounts(java.util.Set accounts)
this.accounts = accounts;
|
public void | setAddress(Address address)
this.address = address;
|
public void | setDeleted(boolean deleted)
this.deleted = deleted;
|
public void | setId(java.lang.Long id)
this.id = id;
|
public void | setName(java.lang.String name)
this.name = name;
|
public void | setUserId(java.lang.String userId)
this.userId = userId;
|