01: package com.completex.objective.persistency.examples.ex003.domain;
02:
03: import com.completex.objective.persistency.examples.ex003.pos.ProductPO;
04:
05: /**
06: * @author Gennady Krizhevsky
07: */
08: public class PoliceCar extends Product {
09:
10: public static final String TYPE = "policeCar";
11:
12: private PoliceCarAttr policeCarAttr = new PoliceCarAttr();
13:
14: public PoliceCar() {
15: }
16:
17: public PoliceCar(ProductAttr productAttr,
18: PoliceCarAttr policeCarAttr) {
19: super (productAttr);
20: this .policeCarAttr = policeCarAttr;
21: }
22:
23: public PoliceCarAttr getPoliceCarAttr() {
24: return policeCarAttr;
25: }
26:
27: public void setPoliceCarAttr(PoliceCarAttr policeCarAttr) {
28: this.policeCarAttr = policeCarAttr;
29: }
30: }
|