Android Open Source - whohasmystuff Lent Object

From Project

Back to project page whohasmystuff.


The source code is released under:

GNU General Public License

If you think the Android project whohasmystuff listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.freewarepoint.whohasmystuff;
//  ww w . ja  va  2  s .co m
import android.os.Bundle;
import de.freewarepoint.whohasmystuff.database.OpenLendDbAdapter;

import java.util.Date;

public class LentObject {

    public LentObject() {
        // Empty constructor

    public LentObject(Bundle bundle) {
        description = bundle.getString(OpenLendDbAdapter.KEY_DESCRIPTION);
        type = bundle.getInt(OpenLendDbAdapter.KEY_TYPE);
        date = new Date(bundle.getLong(OpenLendDbAdapter.KEY_DATE));
        modificationDate = new Date(bundle.getLong(OpenLendDbAdapter.KEY_MODIFICATION_DATE));
        personName = bundle.getString(OpenLendDbAdapter.KEY_PERSON);
        personKey = bundle.getString(OpenLendDbAdapter.KEY_PERSON_KEY);

    public String description;
    public int type;
    public Date date;
    public Date modificationDate;
    public String personName;
    public String personKey;
    public boolean returned;
    public Uri calendarEventURI;


Java Source Code List