private ActionGroup( int value, RoleType type, boolean allowsViewingChildren, ApplicationMode applicationMode) { id = value; roleType = type; this.allowsViewingChildren = allowsViewingChildren; this.applicationMode = applicationMode.getValue(); }