Back to project page android-ocw.
The source code is released under:
GNU General Public License
If you think the Android project android-ocw 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 app.ocw.model; //w ww. ja v a 2s . c o m /** * Model for an OCW Provider * * @author Nick Ferraro * */ public class Provider { private final int id; private final String name; private final String externalId; public Provider(int id, String name, String externalId) { this.id = id; this.name = (name == null ? "no-name" : name); this.externalId = externalId; } public int getId() { return this.id; } public String getName() { return this.name; } public String getExternalId() { return this.externalId; } @Override public String toString() { return this.name; } }