1   package ch.ige.edossier.web.vo;
2   
3   import java.io.Serializable;
4   
5   /**
6    * B32.03 - eDossier-Interceptions - Diplomarbeit an der Software-Schule Schweiz<br>
7    * Value-Object: Kapselt die Daten aus dem Contact-Formular für den Mail-Versand.
8    * <p>
9    * Copyright (c) 2004, Eidgenössisches Institut für Geistiges Eigentum
10   * @author    Anita Rueegsegger, Marc Bouquet
11   * @version   $Id: ContactVO.java,v 1.3 2004/10/22 01:58:20 bouquet Exp $
12   */
13  public class ContactVO implements Serializable
14  {
15    private String cbxSection = null;
16    private String cbxTo = null;
17    private String name = null;
18    private String firm = null;
19    private String street = null;
20    private String number = null;
21    private String zipCode = null;
22    private String city = null;
23    private String phone = null;
24    private String email = null;
25    private String message = null;
26  
27    /**
28     * Die toString()-Methode gibt alle Attribute als String zurück.
29     * @return buf String mit allen Attributen
30     */
31    public String toString()
32    {
33      StringBuffer buf = new StringBuffer();
34      buf.append( " cbxSection = <" + this.cbxSection + "> \n" );
35      buf.append( " cbxTo      = <" + this.cbxTo + "> \n" );
36      buf.append( " name       = <" + this.name + "> \n" );
37      buf.append( " firm       = <" + this.firm + "> \n" );
38      buf.append( " street     = <" + this.street + "> \n" );
39      buf.append( " number     = <" + this.number + "> \n" );
40      buf.append( " zipCode    = <" + this.zipCode + "> \n" );
41      buf.append( " city       = <" + this.city + "> \n" );
42      buf.append( " phone      = <" + this.phone + "> \n" );
43      buf.append( " email      = <" + this.email + "> \n" );
44      buf.append( " message    = <" + this.message + "> \n" );
45      return buf.toString();
46    }
47  
48    public String getCity()
49    {
50      return city;
51    }
52  
53    public String getEmail()
54    {
55      return email;
56    }
57  
58    public String getMessage()
59    {
60      return message;
61    }
62  
63    public String getCbxSection()
64    {
65      return cbxSection;
66    }
67  
68    public String getCbxTo()
69    {
70      return cbxTo;
71    }
72  
73    public String getName()
74    {
75      return name;
76    }
77  
78    public String getNumber()
79    {
80      return number;
81    }
82  
83    public String getPhone()
84    {
85      return phone;
86    }
87  
88    public String getStreet()
89    {
90      return street;
91    }
92  
93    public String getZipCode()
94    {
95      return zipCode;
96    }
97  
98    public void setZipCode( String zipCode )
99    {
100     this.zipCode = zipCode;
101   }
102 
103   public void setStreet( String street )
104   {
105     this.street = street;
106   }
107 
108   public void setPhone( String phone )
109   {
110     this.phone = phone;
111   }
112 
113   public void setNumber( String number )
114   {
115     this.number = number;
116   }
117 
118   public void setName( String name )
119   {
120     this.name = name;
121   }
122 
123   public void setCbxTo( String cbxTo )
124   {
125     this.cbxTo = cbxTo;
126   }
127 
128   public void setCbxSection( String cbxSection )
129   {
130     this.cbxSection = cbxSection;
131   }
132 
133   public void setEmail( String email )
134   {
135     this.email = email;
136   }
137 
138   public void setMessage( String message )
139   {
140     this.message = message;
141   }
142 
143   public void setCity( String city )
144   {
145     this.city = city;
146   }
147 
148   public String getFirm()
149   {
150     return firm;
151   }
152 
153   public void setFirm( String firm )
154   {
155     this.firm = firm;
156   }
157 }
158