diff --git a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java index 5a2c70b..ca18979 100644 --- a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java +++ b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java @@ -30,6 +30,12 @@ public String getName() { return name; } + public String getPw() { + return pw; + } + public String getToken() { + return token; + } //Setter public void setName(String name) { @@ -68,12 +74,12 @@ } //pidを指定して投稿を一つ取得 - Post getPost(String pid) { + public Post getPost(String pid) { return posts.get(pid); } //そのaccountの投稿を全て取得 - Collection getPosts() { + public Collection getPosts() { return posts.values(); }