package com.bignerdranch.android.criminalintent;

import java.util.UUID;

public class Crime {
    private UUID mId;
    private String mTitle;

    public Crime() {
        // Generate unique identifier
        mId = UUID.randomUUID();
    }

    // Accesors

    public UUID getId() {
        return mId;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }
}

@@ -43,16 +43,39 @@
 ntent;%0A%0A
+import java.util.Date;%0A
 import j
@@ -89,16 +89,16 @@
 l.UUID;%0A
-
 %0Apublic 
@@ -159,16 +159,69 @@
  mTitle;
+%0A    private Date mDate;%0A    private boolean mSolved;
 %0A%0A    pu
@@ -306,16 +306,44 @@
 UUID();%0A
+        mDate = new Date();%0A
     %7D%0A%0A 
@@ -509,24 +509,24 @@
 ng title) %7B%0A
-
         mTit
@@ -542,11 +542,274 @@
 e;%0A    %7D
+%0A%0A    public boolean isSolved() %7B%0A        return mSolved;%0A    %7D%0A%0A    public void setSolved(boolean solved) %7B%0A        mSolved = solved;%0A    %7D%0A%0A    public Date getDate() %7B%0A        return mDate;%0A    %7D%0A%0A    public void setDate(Date date) %7B%0A        mDate = date;%0A    %7D
 %0A%7D%0A

Add new attributes to Crime model