Back to project page LearnByHeart.
The source code is released under:
Apache License
If you think the Android project LearnByHeart 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.mps.learn.pb.model; /* www .ja va 2s . co m*/ import java.util.ArrayList; import java.util.List; public class PhraseBook { private String header; private String langTranslatedFrom; private String langTranslatedTo; private String UpdatedAt; private String updatedBy; private String category; private String subCategory; private List<PhraseModel> phraseList; public PhraseBook(){ setPhraseList(new ArrayList<PhraseModel>()); } public String getHeader() { return header; } public void setHeader(String header) { this.header = header; } public String getLangTranslatedFrom() { return langTranslatedFrom; } public void setLangTranslatedFrom(String langTranslatedFrom) { this.langTranslatedFrom = langTranslatedFrom; } public String getLangTranslatedTo() { return langTranslatedTo; } public void setLangTranslatedTo(String langTranslatedTo) { this.langTranslatedTo = langTranslatedTo; } public String getUpdatedAt() { return UpdatedAt; } public void setUpdatedAt(String updatedAt) { UpdatedAt = updatedAt; } public String getUpdatedBy() { return updatedBy; } public void setUpdatedBy(String updatedBy) { this.updatedBy = updatedBy; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public String getSubCategory() { return subCategory; } public void setSubCategory(String subCategory) { this.subCategory = subCategory; } public List<PhraseModel> getPhraseList() { return phraseList; } private void setPhraseList(List<PhraseModel> phraseList) { this.phraseList = phraseList; } @Override public String toString() { // TODO Auto-generated method stub return header + ", " + langTranslatedFrom + ", " + langTranslatedTo + ", " + category + ", " + subCategory + ", " + updatedBy + ", " + UpdatedAt + ", " + phraseList.size() ; } }