Modifier and Type | Field and Description |
---|---|
private BigDecimal |
cost |
private long |
id |
private String |
make |
private String |
model |
private int |
year |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getCost() |
long |
getId() |
String |
getMake() |
String |
getModel() |
int |
getYear() |
void |
setCost(BigDecimal cost) |
void |
setMake(String make) |
void |
setModel(String model) |
void |
setYear(int year) |
String |
toString() |
private long id
private String make
private String model
private int year
private BigDecimal cost
public long getId()
public String getMake()
public void setMake(String make)
public String getModel()
public void setModel(String model)
public int getYear()
public void setYear(int year)
public BigDecimal getCost()
public void setCost(BigDecimal cost)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.