employeebean.java

来自「sourcode about java basic」· Java 代码 · 共 31 行

JAVA
31
字号
/* Copyright 2005 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at: http://developer.sun.com/berkeley_license.html  
$Id: EmployeeBean.java,v 1.1 2005/04/01 02:18:39 gmurray71 Exp $ */
package com.sun.j2ee.blueprints.bpcatalog.ajax;

public class EmployeeBean {

    private String id;
    private String firstName;
    private String lastName;
    
    public EmployeeBean (String id, String firstName, String lastName) {
        this.id = id;
        this.firstName = firstName;
        this.lastName = lastName;
    }
    
    public String getId() {
        return id;
    }
    
    public String getFirstName() {
        return firstName;
    }
    
    public String getLastName() {
        return lastName;
    }
}


⌨️ 快捷键说明

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