]> git.argeo.org Git - lgpl/argeo-commons.git/blob - i18n/model/Place.java
Prepare next development cycle
[lgpl/argeo-commons.git] / i18n / model / Place.java
1 /*
2 * Copyright (C) 2007-2012 Mathieu Baudier
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 package org.argeo.demo.i18n.model;
17
18 import org.argeo.eclipse.ui.TreeParent;
19
20 public class Place extends TreeParent {
21
22 private String description;
23 private String address;
24
25 public Place(String name, String description, String address) {
26 super(name);
27 this.description = description;
28 this.address = address;
29 }
30
31 public void setAddress(String adress) {
32 this.address = adress;
33 }
34
35 public String getAdress() {
36 return address;
37 }
38
39 public void setDescription(String description) {
40 this.description = description;
41 }
42
43 public String getDescription() {
44 return description;
45 }
46 }