01: package com.completex.objective.persistency.examples.ex003.domain;
02:
03: import com.completex.objective.persistency.examples.ex003.pos.ProductPO;
04: import com.completex.objective.persistency.examples.ex003.pos.PoliceCarPO;
05:
06: /**
07: * @author Gennady Krizhevsky
08: */
09: public class PoliceCarAttr extends PoliceCarPO {
10:
11: private Product product;
12:
13: public PoliceCarAttr() {
14: }
15:
16: public PoliceCarAttr(Long productId) {
17: super (productId);
18: }
19:
20: public Product getProduct() {
21: return product;
22: }
23:
24: public void setProduct(Product product) {
25: this.product = product;
26: }
27:
28: }
|