📄 flowsetvaluehelper.java
字号:
package net.java.workeffort.webapp.support;import org.apache.commons.lang.Validate;import org.apache.commons.lang.builder.ToStringBuilder;/** * The helper class which is used to facilitate setting a field value using page * flow. * @author Antony Joseph */public class FlowSetValueHelper { // used only when setting value for a collection private String collectionIdx; private String targetPropertyNameForValue; private String token; public FlowSetValueHelper(String targetPropertyNameForValue, String token) { this(null, targetPropertyNameForValue, token); } public FlowSetValueHelper(String collectionIdx, String targetPropertyNameForValue, String token) { Validate.notEmpty(targetPropertyNameForValue, "targetPropertyNameForValue cannot be null"); Validate.notEmpty(token, "token cannot be null"); this.collectionIdx = collectionIdx; this.targetPropertyNameForValue = targetPropertyNameForValue; this.token = token; } /** * @return Returns the collectionIdx. */ public String getCollectionIdx() { return collectionIdx; } /** * @return Returns the token. */ public String getToken() { return token; } /** * @return Returns the targetPropertyNameForValue. */ public String getTargetPropertyNameForValue() { return targetPropertyNameForValue; } /** @return string representation */ public String toString() { return ToStringBuilder.reflectionToString(this); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -