@Override
    public String toString() {
        String result = "Subject: " + this.getSubject() +
                " Description: " + this.getDescription() +
                " Priority: " + this.getPriority() +
                " AuthorID: " + this.getAuthor() +
                " ExpirateDate: " + this.getExpirationDate().toString() +
                " Options: ";
        for (String option : this.getOptions()) {
            result += option + ", ";
        }
        result += " VoteCountIDs: ";
        VoteModel voteModel = new VoteModel();
        for (Integer i : this.getVotes()) {
            Vote vote = (Vote) voteModel.get(i);
            result += vote.toString() + ", ";
        }
        result += " CommentIDs: ";
        for (Integer comment : this.getComments()) {
            result += comment + ", ";
        }
        result += " AttachmentIDs: ";
        for (String attachment : this.getAttachments()) {
            result += attachment + ", ";
        }
        return result;
    }