📄 attribute.java
字号:
/*
* Attribute.java
*
* Created on 05 August 2006, 20:33
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package uk.ac.kent.dpa.custom.authz.util;
/**
*
* @author ls97
*/
public class Attribute {
public static int SUBJECT = 10;
public static int ACTION = 11;
public static int RESOURCE = 12;
public static int ENVIRONMENT = 13;
private String name;
private String dataType;
private int type;
/** Creates a new instance of Attribute */
public Attribute(String nameIn,String dataTypeIn,int typeIn) {
this.dataType=dataTypeIn;
this.name=nameIn;
this.type=typeIn;
}
public String getName() {
return this.name;
}
public String getDataType() {
return this.dataType;
}
public int getType() {
return this.type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -