⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rundata.java

📁 A Java web application, based on Struts and Hibernate, that serves as an online running log. Users m
💻 JAVA
字号:
/* @LICENSE_COPYRIGHT@ */
package net.sf.irunninglog.canonical;

/**
 * Canonical object representing a <em>Run Data</em> entity.  This class
 * provides a number of constants which define a loose contract as to what a
 * <em>Run Data</em> is within the system.  This contract serves as a way to
 * allow different application layers to understand and interact with
 * generic data (e.g. data transfer objects).
 *
 * @author <a href="mailto:allan_e_lewis@yahoo.com">Allan Lewis</a>
 * @version $Revision: 1.1.1.1 $ $Date: 2005/06/23 01:48:56 $
 * @since iRunningLog 1.0
 */
public final class RunData extends HasGeneratedId {

    /** Canonical ID for Run Data objects. */
    public static final String CANONICAL_ID = "RunData";

    /** Does not expose a constructor. */
    private RunData() { };

    /** The value used to identify the Run Data's <em>date</em> field. */
    public static final String FIELD_DATE = "date";
    /** The value used to identify the Run Data's <em>distance</em> field. */
    public static final String FIELD_DISTANCE = "distance";
    /** The value used to identify the Run Data's <em>units</em> field. */
    public static final String FIELD_UNITS = "units";
    /** The value used to identify the Run Data's <em>time</em> field. */
    public static final String FIELD_TIME = "time";
    /** The value used to identify the Run Data's <em>pace</em> field. */
    public static final String FIELD_PACE = "pace";
    /** The value used to identify the Run Data's <em>route</em> field. */
    public static final String FIELD_ROUTE = "route";
    /** The value used to identify the Run Data's <em>run type</em> field. */
    public static final String FIELD_RUN_TYPE = "runType";
    /** The value used to identify the Run Data's <em>shoes</em> field. */
    public static final String FIELD_SHOES = "shoes";
    /** The value used to identify the Run Data's <em>comments</em> field. */
    public static final String FIELD_COMMENTS = "comments";

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -