📄 abstractuser.java
字号:
/*
* Created on 2005-2-23
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.hnjchina.securitys.user;
import java.util.HashSet;
import java.util.Set;
/**
* @author limeiyong
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
abstract class AbstractUser implements IUser{
private Long userid;
private String name;
private String description;
private Long status;
private Set object=new HashSet();
public Long getID(){
return this.userid;
}
public void setID(Long userid){
this.userid=userid;
}
public String getName(){
return this.name;
}
public void setName(String name){
this.name=name;
}
public String getDescription(){
return description;
}
public void setDescription(String description){
this.description=description;
}
public Long getStatus(){
return this.status;
}
public void setStatus(Long status){
this.status=status;
}
public void addObject(Object object){
this.object.add(object);
}
public void removeObject(Object object){
this.object.remove(object);
}
public void clearObject(){
this.object.clear();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -