Back to project page ExpertAndroid.
The source code is released under:
MIT License
If you think the Android project ExpertAndroid 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.iuriio.demos.expertandroid.ch13parsesimple; // w ww .j av a2 s . c o m import com.parse.ParseObject; /** * Created by iuriio on 10/30/13. */ public class Word extends ParseObjectWrapper { private static final String TABLE_NAME = "WordObject"; private static final String FIELD_WORD = "word"; private static final String FIELD_MEANING = "meaning"; public Word(String word, String meaning) { super(TABLE_NAME); this.setWord(word); this.setMeaning(meaning); } public Word(ParseObject in) { super(in); } public String getWord() { return this.po.getString(FIELD_WORD); } public void setWord(String word) { this.po.put(FIELD_WORD, word); } public String getMeaning() { return this.po.getString(FIELD_MEANING); } public void setMeaning(String meaning) { this.po.put(FIELD_MEANING, meaning); } @Override public String toString() { return this.getWord() + "/" + this.getCreatedBy().getUsername(); } }