/* * 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 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 getCensusEntries() { return censusEntries; } @Override public void setCensusEntries(List censusEntries) { this.censusEntries = censusEntries; } @Override public Place getPlace() { return place; } @Override public void setPlace(Place place) { this.place = place; } }