Back to project page OBS-Translation-App.
The source code is released under:
MIT License
If you think the Android project OBS-Translation-App 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 org.door43.obs.mta.model; // ww w.j a v a 2 s . c o m public class Translation extends PersistenceObject implements ITranslation { /* CONSTANTS */ /* FIELDS */ private String frameId; private String langCode; private String text; /* CONSTRUCTORS */ public Translation() { super(); } public Translation(String frameId, String langCode, String text) { this(); this.frameId = frameId; this.langCode = langCode; this.text = text; } /* METHODS */ /* GETTERS AND SETTERS */ @Override public String getFrameId() { return frameId; } @Override public void setFrameId(String frameId) { this.frameId = frameId; } @Override public String getLangCode() { return langCode; } @Override public void setLangCode(String langCode) { this.langCode = langCode; } @Override public String getText() { return text; } @Override public void setText(String text) { this.text = text; } /* OBJECT METHODS */ @Override public String toString() { final StringBuilder sb = new StringBuilder("Translation{"); sb.append("id='").append(getId()).append('\''); sb.append("frameId='").append(frameId).append('\''); sb.append(", langCode='").append(langCode).append('\''); sb.append('}'); return sb.toString(); } }