diff options
author | beanplebs <benalmstead@gmail.com> | 2025-02-15 15:43:47 -0500 |
---|---|---|
committer | beanplebs <benalmstead@gmail.com> | 2025-02-15 15:43:47 -0500 |
commit | 5890a4835bd09c6fb794828129006c64971e4489 (patch) | |
tree | acf767b72d76b4f6d5ec6d13e1bf764c890d6570 /ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java | |
parent | 8268f5ee92372afb2f23045b25ec9bd45213f869 (diff) | |
parent | e4093fedb6ddf04f45caef8b592ec2201143ab89 (diff) | |
download | JellySolutions-5890a4835bd09c6fb794828129006c64971e4489.tar.gz JellySolutions-5890a4835bd09c6fb794828129006c64971e4489.tar.bz2 JellySolutions-5890a4835bd09c6fb794828129006c64971e4489.zip |
Merge branch 'main' of https://github.com/RIT-SWEN-261-02/team-project-2245-swen-261-02-2b-jellysolutions
Diffstat (limited to 'ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java')
-rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java new file mode 100644 index 0000000..dda20b8 --- /dev/null +++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/CupboardFileDao.java @@ -0,0 +1,27 @@ +package com.ufund.api.ufundapi; + +import java.util.ArrayList; + +public class CupboardFileDao { + + private ArrayList<Need> needs; + private final String filePath; + + public CupboardFileDao(String filepath) { + this.filePath = filepath; + } + + public ArrayList<Need> getNeeds() { + return needs; + } + + public String getFilePath() { + return filePath; + } + + public void addNeed(Need need) { + needs.add(need); + } + + +}
\ No newline at end of file |