@Entity public class Shipment extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private int |
id |
private String |
location |
private int |
productId |
Modifier | Constructor and Description |
---|---|
protected |
Shipment() |
|
Shipment(String location) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getLocation() |
int |
getProductId() |
void |
setProductId(int productId) |
String |
toString() |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.