Back to project page palhike.
The source code is released under:
GNU General Public License
If you think the Android project palhike 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.palhike.android; /* w w w.ja v a 2s. co m*/ public class ObjectModel { String _id; String _title; String _titleEnglish; String _description; String _scientificName; String _info; String _num_images; byte[] _image1; byte[] _image2; byte[] _image3; byte[] _image4; byte[] _image5; private String _scientific; public String get_scientific() { return _scientific; } public void set_scientific(String _scientific) { this._scientific = _scientific; } public String get_didyouknow() { return _didyouknow; } public void set_didyouknow(String _didyouknow) { this._didyouknow = _didyouknow; } private String _didyouknow; public ObjectModel(String id, String title, String titleEnglish, String description ,String num_images,byte[] image1,byte[] image2,byte[] image3,byte[] image4,byte[] image5 , String scientific, String didyouknow){ //super(); this._id=id; this._titleEnglish = titleEnglish; this._title=titleEnglish + " " + title; this._description=description; this._scientificName = "Scientific Name"; //this.image1=BitmapFactory.decodeByteArray(image1,0,image1.length); this._image1=image1; this._image2=image2; this._image3=image3; this._image4=image4; this._image5=image5; this._scientific = scientific; this._didyouknow = didyouknow; } // public ObjectModel(String id, String title, String titleEnglish, String description,String num_images,byte[] image1,byte[] image2,byte[] image3,byte[] image4,byte[] image5){ // //super(); // this._id=id; // this._titleEnglish = titleEnglish; // this._title=titleEnglish + " " + title; // this._description=description; // this._scientificName = "Scientific Name"; // //this.image1=BitmapFactory.decodeByteArray(image1,0,image1.length); // this._image1=image1; // this._image2=image2; // this._image3=image3; // this._image4=image4; // this._image5=image5; // } }