/** * Copyright (C) 2011 JTalks.org Team * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ package org.jtalks.jcommune.model.entity; import org.jtalks.common.model.entity.Entity; /** * * @author Anuar Nurmakanov */ public class PluginProperty extends Entity { private String name; private Type type; private String value; private String hint; private PluginConfiguration pluginConfiguration; public static enum Type {INT, BOOLEAN, STRING} public PluginProperty(String name, Type type, String value) { this.name = name; this.type = type; this.value = value; } public PluginProperty() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public Type getType() { return type; } public void setType(Type type) { this.type = type; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public PluginConfiguration getPluginConfiguration() { return pluginConfiguration; } public void setPluginConfiguration(PluginConfiguration pluginConfiguration) { this.pluginConfiguration = pluginConfiguration; } public String getHint() { return hint; } public void setHint(String hint) { this.hint = hint; } }