SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
684 B

package de.superx.bianalysis.models;
public enum Right {
VIEW_REPORT("RIGHT_CS_BIA_ANALYSIS_VIEW_ANALYSIS_TABLE"),
CREATE_ANALYSIS("RIGHT_CS_BIA_ANALYSIS_CREATE_ANALYSIS"),
DELETE_ANALYSIS("RIGHT_CS_BIA_ANALYSIS_DELETE_ANALYSIS");
private String string;
Right(String string) {
this.setString(string);
}
public String getString() {
return string;
}
public void setString(String string) {
this.string = string;
}
public static String getPrintableRights(Right... rights) {
String out = "";
for (Right right : rights) {
out += right.toString();
}
return out;
}
}