diff options
| author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-02-15 15:39:19 -0500 | 
|---|---|---|
| committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-02-15 15:39:19 -0500 | 
| commit | e4093fedb6ddf04f45caef8b592ec2201143ab89 (patch) | |
| tree | 055972110c6413827773ed1ad0235db13716107d /ufund-api/src/main/java/com/ufund/api/ufundapi | |
| parent | 052ea705b4f0284ef2bfe14fc3e037f8db7e1359 (diff) | |
| download | JellySolutions-e4093fedb6ddf04f45caef8b592ec2201143ab89.tar.gz JellySolutions-e4093fedb6ddf04f45caef8b592ec2201143ab89.tar.bz2 JellySolutions-e4093fedb6ddf04f45caef8b592ec2201143ab89.zip  | |
Implemented Cupboard file dao class
Diffstat (limited to 'ufund-api/src/main/java/com/ufund/api/ufundapi')
| -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  | 
