public static EntityType getDefaultEntityType() { return EnumTools.getDefault(EntityType.class); }
/* return Role access level */ public static AccessLevel getAccessLevel(RoleAcl ra) { return (ra != null) ? EnumTools.getValueOf(AccessLevel.class, ra.getAccessLevel()) : EnumTools.getDefault(AccessLevel.class); }