001 /*
002 * Sonar, open source software quality management tool.
003 * Copyright (C) 2008-2012 SonarSource
004 * mailto:contact AT sonarsource DOT com
005 *
006 * Sonar is free software; you can redistribute it and/or
007 * modify it under the terms of the GNU Lesser General Public
008 * License as published by the Free Software Foundation; either
009 * version 3 of the License, or (at your option) any later version.
010 *
011 * Sonar is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014 * Lesser General Public License for more details.
015 *
016 * You should have received a copy of the GNU Lesser General Public
017 * License along with Sonar; if not, write to the Free Software
018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
019 */
020 package org.sonar.core.dashboard;
021
022 public final class WidgetPropertyDto {
023
024 private Long id;
025 private Long widgetId;
026 private String key;
027 private String value;
028
029 /**
030 * @return the id
031 */
032 public Long getId() {
033 return id;
034 }
035
036 /**
037 * @param id the id to set
038 */
039 public void setId(Long id) {
040 this.id = id;
041 }
042
043 /**
044 * @return the widgetId
045 */
046 public Long getWidgetId() {
047 return widgetId;
048 }
049
050 /**
051 * @param widgetId the widgetId to set
052 */
053 public void setWidgetId(Long widgetId) {
054 this.widgetId = widgetId;
055 }
056
057 /**
058 * @return the key
059 */
060 public String getKey() {
061 return key;
062 }
063
064 /**
065 * @param key the key to set
066 */
067 public void setKey(String key) {
068 this.key = key;
069 }
070
071 /**
072 * @return the value
073 */
074 public String getValue() {
075 return value;
076 }
077
078 /**
079 * @param value the value to set
080 */
081 public void setValue(String value) {
082 this.value = value;
083 }
084
085 }