12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /*
- * Copyright (c) Andrew Grant of Carrick Software 19/03/2025, 02:00. All rights reserved.
- *
- */
- package scot.carricksoftware.grants.commands.census;
- import scot.carricksoftware.grants.domains.census.CensusEntry;
- import scot.carricksoftware.grants.domains.places.Place;
- import java.time.LocalDate;
- import java.util.ArrayList;
- import java.util.List;
- public class CensusCommandImpl implements CensusCommand {
- private Long id;
- private LocalDate date;
- private List<CensusEntry> censusEntries = new ArrayList<>();
- private Place place;
- @Override
- public Long getId() {
- return id;
- }
- @Override
- public void setId(Long id) {
- this.id = id;
- }
- @Override
- public LocalDate getDate() {
- return date;
- }
- @Override
- public void setDate(LocalDate date) {
- this.date = date;
- }
- @Override
- public List<CensusEntry> getCensusEntries() {
- return censusEntries;
- }
- @Override
- public void setCensusEntries(List<CensusEntry> censusEntries) {
- this.censusEntries = censusEntries;
- }
- @Override
- public Place getPlace() {
- return place;
- }
- @Override
- public void setPlace(Place place) {
- this.place = place;
- }
- }
|