Entity2.java :  » Database-Persistance » dbdroid » org » nds » dbdroid » entity » Android Open Source

Android Open Source » Database Persistance » dbdroid 
dbdroid » org » nds » dbdroid » entity » Entity2.java
package org.nds.dbdroid.entity;

import org.nds.dbdroid.annotation.Entity;
import org.nds.dbdroid.annotation.Id;

@Entity
public class Entity2 {

    @Id
    private Integer _id;

    private Long time;

    // Default Constructor
    public Entity2() {
    }

    public Entity2(Long time) {
        this.time = time;
    }

    public void set_id(Integer _id) {
        this._id = _id;
    }

    public Integer get_id() {
        return _id;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Long getTime() {
        return time;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.