01: /*
02: * Copyright 2007 Bastian Schenke Licensed under the Apache License, Version 2.0 (the "License");
03: * you may not use this file except in compliance with the License.
04: * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
05: * Unless required by applicable law or agreed to in writing, software distributed under the
06: * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
07: * either express or implied. See the License for the specific language governing permissions
08: * and limitations under the License.
09: */
10: package example.nz.org.take.r2ml.userv.domain;
11:
12: import nz.org.take.r2ml.reference.DefaultDatatypeMapper;
13:
14: public class UServDatatypeMapper extends DefaultDatatypeMapper {
15:
16: public UServDatatypeMapper() {
17: super ();
18:
19: setType("Vehicle", Car.class);
20: setType("Car", Car.class);
21: setType("CarModel", CarModel.class);
22: // setType("Airbag", Airbag.class);
23: // setType("SideAirbag", Airbag.class);
24: // setType("PassengerAirbag", Airbag.class);
25: // setType("DriverAirbag", Airbag.class);
26: setType("Driver", Driver.class);
27: setType("ServiceParticipant", Driver.class);
28: setType("BusinessParty", Driver.class);
29: setType("Person", Driver.class);
30: setType("Policy", Policy.class);
31: setType("Policy", Policy.class);
32: // setType("AlarmSystem", AlarmSystem.class);
33:
34: }
35:
36: }
|