CensusEntryCommand.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright (c) Andrew Grant of Carrick Software 20/03/2025, 11:13. All rights reserved.
  3. *
  4. */
  5. package scot.carricksoftware.grants.commands.census;
  6. import scot.carricksoftware.grants.domains.census.Census;
  7. import scot.carricksoftware.grants.domains.people.Person;
  8. import scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition;
  9. import scot.carricksoftware.grants.enums.censusentry.CensusEntryGaelic;
  10. import scot.carricksoftware.grants.enums.censusentry.CensusEntryRelationship;
  11. import scot.carricksoftware.grants.enums.censusentry.CensusEntryWorker;
  12. public interface CensusEntryCommand {
  13. Long getId();
  14. void setId(Long id);
  15. String getName();
  16. void setName(String name);
  17. Census getCensus();
  18. void setCensus(Census census);
  19. Person getPerson();
  20. void setPerson(Person person);
  21. CensusEntryRelationship getRelationship();
  22. void setRelationship(CensusEntryRelationship relationship);
  23. CensusEntryCondition getCondition();
  24. void setCondition(CensusEntryCondition condition);
  25. CensusEntryGaelic getGaelic();
  26. void setGaelic(CensusEntryGaelic gaelic);
  27. CensusEntryWorker getWorker();
  28. void setWorker(CensusEntryWorker worker);
  29. }