1 /**************************************************************************
2 Copyright 2005 Webstersmalley
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 *************************************************************************/
16
17
18
19 package com.webstersmalley.picweb.online.bus;
20
21 public class Picture {
22
23 private int id;
24
25 private String name;
26
27 private String description;
28
29 /***
30 * @return Returns the description.
31 */
32 public String getDescription() {
33 return description;
34 }
35
36 /***
37 * @param description
38 * The description to set.
39 */
40 public void setDescription(String description) {
41 this.description = description;
42 }
43
44 /***
45 * @return Returns the id.
46 */
47 public int getId() {
48 return id;
49 }
50
51 /***
52 * @param id
53 * The id to set.
54 */
55 public void setId(int id) {
56 this.id = id;
57 }
58
59 /***
60 * @return Returns the name.
61 */
62 public String getName() {
63 return name;
64 }
65
66 /***
67 * @param name
68 * The name to set.
69 */
70 public void setName(String name) {
71 this.name = name;
72 }
73
74 public String toString() {
75 return "Picture:" + getName() + "[" + id + "]";
76 }
77 }