parambean.java
来自「GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。」· Java 代码 · 共 86 行
JAVA
86 行
/** * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: ActionParamBean.java 4496 2006-02-08 20:27:04Z wehrens $ */package org.gridsphere.provider.portletui.beans;/** * An <code>ParamBean</code> is a visual bean that represents parameters associated with a render or action link/button */public class ParamBean extends BaseBean { private String name = ""; private String value = ""; /** * Constructs a default action param bean */ public ParamBean() { } /** * Constructs an action param bean from a supplied portlet request and bean identifier * * @param name the action param name * @param value the action param value */ public ParamBean(String name, String value) { this.name = name; this.value = value; } /** * Constructs an action param bean from a supplied portlet request and bean identifier * * @param beanId the bean identifier */ public ParamBean(String beanId) { this.beanId = beanId; } /** * Sets the action parameter name * * @param name the action parameter name */ public void setName(String name) { this.name = name; } /** * Returns the action parameter name * * @return the action parameter name */ public String getName() { return name; } /** * Returns the action parameter value * * @return the action parameter value */ public String getValue() { return value; } /** * Sets the action parameter value * * @param value the action parameter value */ public void setValue(String value) { this.value = value; } public String toStartString() { return ""; } public String toEndString() { return ""; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?