00001 /* 00002 * OpenMobileIS - a free Java Framework for mobile applications 00003 * 00004 * Copyright (C) 2004 Philippe Delrieu. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public 00017 * License along with this library; if not, write to the Free 00018 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 * 00020 * Philippe Delrieu kept the rigth to distribute all code Copyrighted by philippe Delrieu 00021 * under other licence term even commercial one. 00022 * 00023 * Modifications : 00024 * 2004 Creation P.Delrieu 00025 * 00026 */ 00027 package org.openmobileis.modules.crm.data.common; 00028 00037 public class DefaultGlobalProperty implements GlobalProperty { 00038 static final long serialVersionUID = 5521257935120563452L; 00039 00040 protected String servicePropery; 00041 protected String propertyKey; 00042 protected String propertyValue; 00046 public DefaultGlobalProperty(String service, String key) { 00047 super(); 00048 this.servicePropery = service; 00049 this.propertyKey = key; 00050 } 00054 public String getPropertyKey() { 00055 return propertyKey; 00056 } 00057 00061 public String getPropertyValue() { 00062 return propertyValue; 00063 } 00064 00068 public String getServiceProperty() { 00069 return servicePropery; 00070 } 00071 00075 public void setPropertyValue(String string) { 00076 propertyValue = string; 00077 } 00078 00079 }