Package ejava.examples.asyncmarket.bo
Class Person
- java.lang.Object
-
- ejava.examples.asyncmarket.bo.Person
-
- All Implemented Interfaces:
Serializable
@Entity public class Person extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
id
private long id
-
version
private long version
-
userId
private String userId
-
name
private String name
-
bids
private Collection<Bid> bids
-
items
private Collection<AuctionItem> items
-
-
Method Detail
-
getId
public long getId()
-
setId
private void setId(long id)
-
getVersion
public long getVersion()
-
setVersion
public void setVersion(long version)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getBids
public Collection<Bid> getBids()
-
setBids
public void setBids(Collection<Bid> bids)
-
getItems
public Collection<AuctionItem> getItems()
-
setItems
public void setItems(Collection<AuctionItem> items)
-
-