01: package test.crispy.example.model;
02:
03: import java.util.Date;
04: import java.util.Properties;
05:
06: public class Car {
07:
08: private String name = null;
09: private String description = null;
10: private Date build = null;
11: private Status status = null;
12: private Properties properties = null;
13:
14: public Car() {
15: }
16:
17: public Car(String pvName) {
18: setName(pvName);
19: }
20:
21: public Car(String pvName, String pvDescription) {
22: setName(pvName);
23: setDescription(pvDescription);
24: }
25:
26: public void setName(String pvName) {
27: name = pvName;
28: }
29:
30: public String getName() {
31: return name;
32: }
33:
34: public String getDescription() {
35: return description;
36: }
37:
38: public void setDescription(String pvDescription) {
39: description = pvDescription;
40: }
41:
42: public Date getBuild() {
43: return build;
44: }
45:
46: public void setBuild(Date pvBuild) {
47: build = pvBuild;
48: }
49:
50: public void setStatus(Status pvStatus) {
51: status = pvStatus;
52: }
53:
54: public Status getStatus() {
55: return status;
56: }
57:
58: public void setProperties(Properties pvProperties) {
59: properties = pvProperties;
60: }
61:
62: public Properties getProperties() {
63: return properties;
64: }
65: }
|