Repository navigation
Expand file tree
/
Copy pathEvidence.java
More file actions
55 lines (55 loc) · 1.61 KB
/
Copy pathEvidence.java
File metadata and controls
55 lines (55 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import java.util.UUID;
/**
* provides information regarding the evidence in the database
*/
public class Evidence {
private UUID evidenceID;
private String evidenceType;
private String locationFound;
/**
* the different types of information stored in evidence
* @param evidenceID id label to that evidence
* @param evidenceType the type of provided evidence
* @param locationFound the location found of the evidence provided
*/
public Evidence(UUID evidenceID, String evidenceType, String locationFound) {
this.evidenceID = evidenceID;
this.evidenceType = evidenceType;
this.locationFound = locationFound;
}
/**
* get the UUID
* @return return the UUID through the UUID
*/
public UUID getUUID() {
return evidenceID;
}
/**
* gets the type of evidence found/provided
* @return return that type/category of evidence
*/
public String getEvidenceType() {
return evidenceType;
}
/**
* finds location of where the evidence was found
* @return return that location of the evidence
*/
public String getLocationFound() {
return locationFound;
}
/**
* the id of the evidence
* @return return that id for the evidence
*/
public UUID getEvidenceID() {
return evidenceID;
}
/**
* to string to output the evidence details
* @return outputs the evidence type and the location of where the evidence was found
*/
public String toString() {
return "Evidence Type: "+evidenceType+"\nLocation Found: "+locationFound;
}
}