]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.procore.server.environment/src/org/simantics/db/procore/server/environment/windows/Product.java
098dd1d1a4cd5b461e7fdf8f658eecccdf0bbf97
[simantics/platform.git] / bundles / org.simantics.db.procore.server.environment / src / org / simantics / db / procore / server / environment / windows / Product.java
1 /*******************************************************************************
2  * Copyright (c) 2010 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.db.procore.server.environment.windows;
13
14 /**
15  * @author Tuukka Lehtonen
16  */
17 public class Product {
18
19     private final String code;
20     private final String description;
21
22     public Product(String code, String description) {
23         this.code = code;
24         this.description = description;
25     }
26
27     public String getCode() {
28         return code;
29     }
30
31     public String getDescription() {
32         return description;
33     }
34
35     @Override
36     public String toString() {
37         return description + " - " + code;
38     }
39
40 }