MyTetra Share
Делитесь знаниями!
Crime.java
21.04.2017
18:44
Раздел: Android - books - AndroidProgramming2e - 12 Диалоговые окна
Crime.java
package com.bignerdranch.android.criminalintent; 
 
import java.util.Date; 
import java.util.UUID; 
 
public class Crime { 
 
    private UUID mId; 
    private String mTitle; 
    private Date mDate; 
    private boolean mSolved; 
 
    public Crime() { 
        mId = UUID.randomUUID(); 
        mDate = new Date(); 
    } 
 
    public UUID getId() { 
        return mId; 
    } 
 
    public String getTitle() { 
        return mTitle; 
    } 
 
    public void setTitle(String title) { 
        mTitle = title; 
    } 
 
    public Date getDate() { 
        return mDate; 
    } 
 
    public void setDate(Date date) { 
        mDate = date; 
    } 
 
    public boolean isSolved() { 
        return mSolved; 
    } 
 
    public void setSolved(boolean solved) { 
        mSolved = solved; 
    } 
} 

 
MyTetra Share v.0.52
Яндекс индекс цитирования