diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-07-22 16:35:11 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-07-22 16:35:11 +0300 |
commit | fbcab20336437825c56d6dc6a399787a988dfc24 (patch) | |
tree | 669e360325eb9a44d01541148cbc9b9ce9157ffa /app/src/main/java/it/niedermann/nextcloud/deck/model | |
parent | 3c9c8489dc3823c6ed2ac62c5ab4c1661a303375 (diff) |
#573 projects - Harding resources
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/model')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java b/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java index b4aa0f822..f889cc66c 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/model/ocs/projects/OcsProjectResource.java @@ -53,19 +53,21 @@ public class OcsProjectResource extends AbstractRemoteEntity implements Serializ this.projectId = projectId; } + @Nullable public String getType() { return type; } - public void setType(String type) { + public void setType(@Nullable String type) { this.type = type; } + @Nullable public String getName() { return name; } - public void setName(String name) { + public void setName(@Nullable String name) { this.name = name; } @@ -73,19 +75,21 @@ public class OcsProjectResource extends AbstractRemoteEntity implements Serializ * Caution: the Link might be a full url or only the relative path! * @return The link to the Resource */ + @Nullable public String getLink() { return link; } - public void setLink(String link) { + public void setLink(@Nullable String link) { this.link = link; } + @Nullable public String getIconUrl() { return iconUrl; } - public void setIconUrl(String iconUrl) { + public void setIconUrl(@Nullable String iconUrl) { this.iconUrl = iconUrl; } |