📄 function.java
字号:
package org.artemis.right.model;
import java.util.ArrayList;
import java.util.List;
public class Function implements java.io.Serializable {
// Fields
private String id;
private String name;
private String parentName;
private String url;
private String protectFunction;
private String note;
private Function parent;
private List roles = new ArrayList();
// Constructors
/** default constructor */
public Function() {
}
/** minimal constructor */
public Function(String id) {
this.id = id;
}
/** full constructor */
public Function(String id, String name, String parentName, String url, String protectFunction, String note) {
this.id = id;
this.name = name;
this.parentName = parentName;
this.url = url;
this.protectFunction = protectFunction;
this.note = note;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getParentName() {
return this.parentName;
}
public void setParentName(String parentName) {
this.parentName = parentName;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getProtectFunction() {
return this.protectFunction;
}
public void setProtectFunction(String protectFunction) {
this.protectFunction = protectFunction;
}
public String getNote() {
return this.note;
}
public void setNote(String note) {
this.note = note;
}
public List getRoles() {
return roles;
}
public void setRoles(List roles) {
this.roles = roles;
}
public Function getParent() {
return parent;
}
public void setParent(Function parent) {
this.parent = parent;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -