/** * Shortcut to get the ID as a value. * * @throws java.lang.IllegalArgumentException If the project ID is not {@linkplain ID#isSet() set}. */ default int projectId() { ID id = getProjectId(); isTrue(ID.isDefined(id), "Project ID must be defined"); return id.get(); }