runner.java

来自「A Java web application, based on Struts 」· Java 代码 · 共 35 行

JAVA
35
字号
/* @LICENSE_COPYRIGHT@ */package net.sf.irunninglog.canonical;/** * Canonical object representing a <em>Runner</em>.  This class provides a * number of constants which define a loose contract as to what a * <em>Runner</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 Runner extends HasRunnerId {    /** Canonical ID for Runner objects. */    public static final String CANONICAL_ID = "Runner";    /** Does not expose a constructor. */    private Runner() { }    /** The value used to identify the Runner's <em>name</em> field. */    public static final String FIELD_NAME = "name";    /** The value used to identify the Runner's <em>email</em> field. */    public static final String FIELD_EMAIL = "email";    /** The value used to identify the Runner's <em>date of birth</em> field. */    public static final String FIELD_DATE_OF_BIRTH = "dateOfBirth";    /** The value used to identify the Runner's <em></em> field. */    public static final String FIELD_AGE = "age";    /** The value used to identify the Runner's <em>gender</em> field. */    public static final String FIELD_GENDER = "gender";}

⌨️ 快捷键说明

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