📄 runtypeformbean.java
字号:
/* @LICENSE_COPYRIGHT@ */package net.sf.irunninglog.servlet.formbean;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import net.sf.irunninglog.canonical.RunType;import net.sf.irunninglog.util.DTO;/** * Form bean representation of the <em>Run Type</em> business object. Used to * provide an implementation of the <em>Run Type</em> object within the * application's view tier. * * @author <a href="mailto:allan_e_lewis@yahoo.com">Allan Lewis</a> * @version $Revision: 1.1.1.1 $ $Date: 2005/06/23 01:49:02 $ * @since iRunningLog 1.0 */public final class RunTypeFormBean extends ReferenceDataFormBean { /** <code>Log</code> instance for this class. */ private static final Log LOG = LogFactory.getLog(RunTypeFormBean.class); /** * Create a new form bean. */ public RunTypeFormBean() { super(); } /** * Retrieve the form bean's values. * * @return A transfer object representing the for bean's state */ public DTO getValues() { DTO valueObject = super.getValues(); if (LOG.isDebugEnabled()) { LOG.debug("getValues: Contents of the value object " + " (before) " + valueObject); } valueObject.setCanonicalId(RunType.CANONICAL_ID); if (LOG.isDebugEnabled()) { LOG.debug("getValues: Contents of the value object " + " (after) " + valueObject); } return valueObject; } /** * Update the form bean's values. * * @param valueObject Value object containing the new values * to be applied to the form bean */ public void setValues(DTO valueObject) { if (LOG.isDebugEnabled()) { LOG.debug("setValues: Contents of the value object " + valueObject); } super.setValues(valueObject); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -