@Entity public class Account extends Object implements Serializable
private List<Address>
addresses
private String
firstName
userId
protected
Account()
Account(String userId)
Account(String userId, String firstName, List<Address> addresses)
List<Address>
getAddresses()
String
getFirstName()
getUserId()
void
setAddresses(List<Address> addresses)
setFirstName(String firstName)
private void
setUserId(String userId)
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private String userId
private String firstName
private List<Address> addresses
protected Account()
public Account(String userId)
public Account(String userId, String firstName, List<Address> addresses)
public String getUserId()
private void setUserId(String userId)
public String getFirstName()
public void setFirstName(String firstName)
public List<Address> getAddresses()
public void setAddresses(List<Address> addresses)
public String toString()
toString
Object
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.