01: /*
02: * Created on 27 mai 2004
03: *
04: * To change the template for this generated file go to
05: * Window - Preferences - Java - Code Generation - Code and Comments
06: */
07: package org.objectweb.speedo.pobjects.inheritance.ejboo2;
08:
09: /**
10: * Persistent Data
11: */
12:
13: public class ServicePersistantImpl extends ArticlePersistantImpl
14: implements ServicePersistant {
15:
16: /**
17: * Frais de service.
18: */
19: private float frais;
20:
21: /**
22: * Option de service.
23: */
24: private String option;
25:
26: /**
27: * @return Returns the frais.
28: */
29: public float getFrais() {
30: return frais;
31: }
32:
33: /**
34: * @param frais The frais to set.
35: */
36: public void setFrais(float frais) {
37: this .frais = frais;
38: }
39:
40: /**
41: * @return Returns the option.
42: */
43: public String getOption() {
44: return option;
45: }
46:
47: /**
48: * @param option The option to set.
49: */
50: public void setOption(String option) {
51: this .option = option;
52: }
53:
54: public ServicePersistantImpl() {
55: super ("S");
56: }
57:
58: public ServicePersistantImpl(long idart) {
59: super ("S", idart);
60: }
61:
62: public String toString() {
63: String s = new String(this .getClass().getName());
64: s += " id=" + this .getId();
65: s += " nom=" + this .getNom();
66: s += " description=" + this .getDescription();
67: s += " type=" + this .getType();
68: s += " frais=" + frais;
69: s += " option=" + option;
70: return s;
71: }
72: }
|