@Entity public class Auto extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
color |
private long |
id |
private String |
make |
private int |
mileage |
private String |
model |
private static long |
serialVersionUID |
Constructor and Description |
---|
Auto() |
Modifier and Type | Method and Description |
---|---|
String |
getColor() |
long |
getId() |
String |
getMake() |
int |
getMileage() |
String |
getModel() |
void |
setColor(String color) |
private void |
setId(long id) |
void |
setMake(String make) |
void |
setMileage(int mileage) |
void |
setModel(String model) |
String |
toString() |
private static final long serialVersionUID
private long id
private String make
private String model
private String color
private int mileage
public long getId()
private void setId(long id)
public String getMake()
public void setMake(String make)
public int getMileage()
public void setMileage(int mileage)
public String getModel()
public void setModel(String model)
public String getColor()
public void setColor(String color)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.