Back to project page json_resume.
The source code is released under:
/* * Copyright (c) 2015 Hunter Davis <hunter@hunterdavis.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided th...
If you think the Android project json_resume listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.hunterdavis.jsonresumeviewer.types; //w w w .ja va 2 s . c om import java.util.List; public class Work{ private String company; private String endDate; private List<String> highlights; private String position; private String startDate; private String summary; private String website; @Override public String toString() { return "Work{" + "company='" + company + '\'' + ", endDate='" + endDate + '\'' + ", highlights=" + getHighlightListTextually() + '\'' + ", position='" + position + '\'' + ", startDate='" + startDate + '\'' + ", summary='" + summary + '\'' + ", website='" + website + '\'' + '}'; } public String getHighlightListTextually() { String ret = ""; if(highlights != null) { for (String highlight : highlights) { ret += ("> " + highlight.toString() + "\n"); } } return ret; } public String getCompany(){ return this.company; } public void setCompany(String company){ this.company = company; } public String getEndDate(){ return this.endDate; } public void setEndDate(String endDate){ this.endDate = endDate; } public List getHighlights(){ return this.highlights; } public void setHighlights(List highlights){ this.highlights = highlights; } public String getPosition(){ return this.position; } public void setPosition(String position){ this.position = position; } public String getStartDate(){ return this.startDate; } public void setStartDate(String startDate){ this.startDate = startDate; } public String getSummary(){ return this.summary; } public void setSummary(String summary){ this.summary = summary; } public String getWebsite(){ return this.website; } public void setWebsite(String website){ this.website = website; } }