@Entity public class Person extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private Collection<Bid> |
bids |
private long |
id |
private Collection<AuctionItem> |
items |
private String |
name |
private static long |
serialVersionUID |
private String |
userId |
private long |
version |
Modifier and Type | Method and Description |
---|---|
Collection<Bid> |
getBids() |
long |
getId() |
Collection<AuctionItem> |
getItems() |
String |
getName() |
String |
getUserId() |
long |
getVersion() |
void |
setBids(Collection<Bid> bids) |
private void |
setId(long id) |
void |
setItems(Collection<AuctionItem> items) |
void |
setName(String name) |
void |
setUserId(String userId) |
void |
setVersion(long version) |
String |
toString() |
private static final long serialVersionUID
private long id
private long version
private String userId
private String name
private Collection<Bid> bids
private Collection<AuctionItem> items
public long getId()
private void setId(long id)
public long getVersion()
public void setVersion(long version)
public String getUserId()
public void setUserId(String userId)
public String getName()
public void setName(String name)
public Collection<Bid> getBids()
public void setBids(Collection<Bid> bids)
public Collection<AuctionItem> getItems()
public void setItems(Collection<AuctionItem> items)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.