FileDocCategorySizeDatePackage
Employee.javaAPI DocExample636Wed Nov 20 17:21:42 GMT 2002com.oreilly.javaxp.xdoclet.deprecation

Employee.java

package com.oreilly.javaxp.xdoclet.deprecation;

/**
 * @author Brian M. Coyner
 * $version $Id: Employee.java,v 1.2 2002/11/20 00:09:15 jepc Exp $
 */
public class Employee {

    private long id;

    /**
     * @deprecated use {@link #setId}.
     */
    public void setEmployeeId(long id) {
        this.id = id;
    }

    /**
     * @deprecated use {@link #getId}.
     */
    public long getEmployeeId() {
        return this.id;
    }

    /**
     * @deprecated
     */
    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return this.id;
    }
}