@JsonProperty("group") public GroupRepresentation getGroup() { return new GroupRepresentation(mSimpleNote.getUserGroup().getGroup()); }
@JsonProperty("user") public UserPublicRepresentation getUser() { return new UserPublicRepresentation(mSimpleNote.getUserGroup().getUser()); }
@JsonProperty("date") public String getDate() { SimpleDateFormat sdf = new SimpleDateFormat("dd MMM. HH:mm", Locale.US); return sdf.format(mSimpleNote.getDate()); }
@JsonProperty("body") public String getBody() { return mSimpleNote.getBody(); }
@JsonProperty("title") public String getTitle() { return mSimpleNote.getTitle(); }
@JsonProperty("id") public long getID() { return mSimpleNote.getId(); }