01: package com.completex.objective.persistency.examples.ex003.domain;
02:
03: /**
04: * @author Gennady Krizhevsky
05: */
06: public class TaxiCar extends Product {
07:
08: public static final String TYPE = "taxiCar";
09:
10: private TaxiCarAttr taxiCarAttr = new TaxiCarAttr();
11:
12: public TaxiCar() {
13: }
14:
15: public TaxiCar(ProductAttr productAttr, TaxiCarAttr taxiCarAttr) {
16: super (productAttr);
17: this .taxiCarAttr = taxiCarAttr;
18: }
19:
20: public TaxiCarAttr getTaxiCarAttr() {
21: return taxiCarAttr;
22: }
23:
24: public void setTaxiCarAttr(TaxiCarAttr taxiCarAttr) {
25: this.taxiCarAttr = taxiCarAttr;
26: }
27: }
|