userview.java

来自「struts+ejb开发简单借书系统,用的是mysql数据库.」· Java 代码 · 共 95 行

JAVA
95
字号
package de.laliluna.tutorial.library.view;

import de.laliluna.tutorial.library.entity.interfaces.UserValue;

public class UserView {
	private UserValue userValue = new UserValue();

	public UserValue getUserValue() {
		return userValue;
	}
	public void setUserValue(UserValue userValue) {
		this.userValue = userValue;
	}
	
	public boolean ageHasBeenSet() {
		return userValue.ageHasBeenSet();
	}

	public Object clone() throws CloneNotSupportedException {
		return userValue.clone();
	}

	public boolean equals(Object other) {
		return userValue.equals(other);
	}

	public boolean equals(UserValue that) {
		return userValue.equals(that);
	}

	public Integer getAge() {
		return userValue.getAge();
	}

	public Integer getId() {
		return userValue.getId();
	}

	public String getLastName() {
		return userValue.getLastName();
	}

	public String getName() {
		return userValue.getName();
	}

	public Integer getPrimaryKey() {
		return userValue.getPrimaryKey();
	}

	public int hashCode() {
		return userValue.hashCode();
	}

	public boolean idHasBeenSet() {
		return userValue.idHasBeenSet();
	}

	public boolean isIdentical(Object other) {
		return userValue.isIdentical(other);
	}

	public boolean lastNameHasBeenSet() {
		return userValue.lastNameHasBeenSet();
	}

	public boolean nameHasBeenSet() {
		return userValue.nameHasBeenSet();
	}

	public void setAge(Integer age) {
		userValue.setAge(age);
	}

	public void setId(Integer id) {
		userValue.setId(id);
	}

	public void setLastName(String lastName) {
		userValue.setLastName(lastName);
	}

	public void setName(String name) {
		userValue.setName(name);
	}

	public void setPrimaryKey(Integer primaryKey) {
		userValue.setPrimaryKey(primaryKey);
	}

	public String toString() {
		return userValue.toString();
	}
}

⌨️ 快捷键说明

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