providing getters for readonly flags and getters/setters for full flags