19 package org.sleuthkit.autopsy.centralrepository.datamodel;
21 import java.io.Serializable;
22 import java.text.DateFormat;
23 import java.text.SimpleDateFormat;
24 import java.util.Date;
25 import org.openide.util.NbBundle.Messages;
35 private static final DateFormat
DATE_FORMAT =
new SimpleDateFormat(
"yyyy/MM/dd HH:mm:ss (z)");
58 this(ID,
caseUUID, null,
displayName, DATE_FORMAT.format(
new Date()), null, null, null, null, null);
85 StringBuilder str =
new StringBuilder();
87 str.append(
"ID=").append(Integer.toString(
getID()));
96 str.append(
",notes=").append(
getNotes());
98 return str.toString();
101 @Messages({
"EamCase.title.caseUUID=Case UUID: "})
103 return Bundle.EamCase_title_caseUUID();
106 @Messages({
"EamCase.title.creationDate=Creation Date: "})
108 return Bundle.EamCase_title_creationDate();
111 @Messages({
"EamCase.title.caseDisplayName=Case Name: "})
113 return Bundle.EamCase_title_caseDisplayName();
116 @Messages({
"EamCase.title.caseNumber=Case Number: "})
118 return Bundle.EamCase_title_caseNumber();
121 @Messages({
"EamCase.title.examinerName=Examiner Name: "})
123 return Bundle.EamCase_title_examinerName();
126 @Messages({
"EamCase.title.examinerEmail=Examiner Email: "})
128 return Bundle.EamCase_title_examinerEmail();
131 @Messages({
"EamCase.title.examinerPhone=Examiner Phone: "})
133 return Bundle.EamCase_title_examinerPhone();
136 @Messages({
"EamCase.title.org=Organization: "})
138 return Bundle.EamCase_title_org();
141 @Messages({
"EamCase.title.notes=Notes: "})
143 return Bundle.EamCase_title_notes();
147 StringBuilder content =
new StringBuilder();
157 return content.toString();
279 return null == notes ?
"" :
notes;
String getTitleExaminerEmail()
void setCreationDate(String creationDate)
String getTitleCaseNumber()
String getTitleExaminerName()
String getTitleExaminerPhone()
String getTitleOrganization()
String getTitleCaseUUID()
String getTitleCaseDisplayName()
void setExaminerPhone(String examinerPhone)
void setExaminerName(String examinerName)
void setCaseNumber(String caseNumber)
static final DateFormat DATE_FORMAT
void setDisplayName(String displayName)
void setOrg(EamOrganization org)
void setNotes(String notes)
String getCaseDetailsOptionsPaneDialog()
String getExaminerEmail()
String getExaminerPhone()
static long serialVersionUID
String getTitleCreationDate()
void setExaminerEmail(String examinerEmail)
CorrelationCase(String caseUUID, String displayName)