1 package test.crispy.example.model; 2 3 import java.util.Date; 4 import java.util.Properties; 5 6 public class Car { 7 8 private String name = null; 9 private String description = null; 10 private Date build = null; 11 private Status status = null; 12 private Properties properties = null; 13 14 public Car() { } 15 public Car(String pvName) { 16 setName(pvName); 17 } 18 public Car(String pvName, String pvDescription) { 19 setName(pvName); 20 setDescription(pvDescription); 21 } 22 23 public void setName(String pvName) { name = pvName; } 24 public String getName() { return name; } 25 26 public String getDescription() { return description; } 27 public void setDescription(String pvDescription) { description = pvDescription; } 28 29 public Date getBuild() { return build; } 30 public void setBuild(Date pvBuild) { build = pvBuild; } 31 32 public void setStatus(Status pvStatus) { status = pvStatus; } 33 public Status getStatus() { return status; } 34 35 public void setProperties(Properties pvProperties) { properties = pvProperties; } 36 public Properties getProperties() { return properties; } 37 }