Repository navigation
Expand file tree
/
Copy pathSuspect.java
More file actions
121 lines (110 loc) · 3.81 KB
/
Copy pathSuspect.java
File metadata and controls
121 lines (110 loc) · 3.81 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import java.util.ArrayList;
import java.util.UUID;
public class Suspect extends Person{
private String hairColor;
private String eyeColor;
private String footSize;
private String bloodType;
private String fingerPrint;
private String details;
private ArrayList<String> clothing;
private ArrayList<String> tattoos;
/**
* information regarding the suspect
* @param personID id of the suspect
* @param firstName suspect firstname
* @param lastName suspect lastname
* @param gender gender of the suspect
* @param race suspect race
* @param age age of the suspect
* @param height height of the suspect
* @param weight weight of the suspect
* @param phoneNumber suspect phone number
* @param address address of the suspect
* @param occupation suspect occupation
* @param hairColor hair color of the suspect
* @param eyeColor eye color of the suspect
* @param footSize provided footsize of the suspect
* @param bloodType suspect blood type
* @param fingerPrint finger print of the suspect
* @param details extra details of the suspect
* @param clothing avaliable clothing information for the suspect
* @param tattoos suspect tattoos
*/
public Suspect(UUID personID, String firstName, String lastName, String gender, String race, int age, double height, double weight, String phoneNumber, String address, String occupation, String hairColor, String eyeColor, String footSize, String bloodType, String fingerPrint, String details, ArrayList<String> clothing, ArrayList<String> tattoos)
{
super(personID, firstName, lastName, gender, race, age, height, weight, phoneNumber, address, occupation);
this.hairColor = hairColor;
this.eyeColor = eyeColor;
this.footSize = footSize;
this.bloodType = bloodType;
this.fingerPrint = fingerPrint;
this.details = details;
this.clothing = clothing;
this.tattoos = tattoos;
}
/**
* gets the haircolor for the suspect
* @return return the hair color of suspect
*/
public String getHairColor() {
return hairColor;
}
/**
* eye color of the suspect
* @return return eye color
*/
public String getEyeColor() {
return eyeColor;
}
/**
* get footsize of the suspect
* @return return the footsize of the suspect
*/
public String getFootSize() {
return footSize;
}
/**
* get the blood type for the suspect
* @return return the footsize for suspect
*/
public String getBloodType() {
return bloodType;
}
/**
* get the finger print of the suspect
* @return return the fingerprint pattern
*/
public String getFingerPrint() {
return fingerPrint;
}
/**
* get extra avaliable details about the suspect
* @return return the details of the suspect
*/
public String getDetails() {
return details;
}
/**
* get the avaliable provided clothing of the suspect that is stored in an array list
* @return return the clothing that is stored in array
*/
public ArrayList<String> getClothing() {
return clothing;
}
/**
* get the tattoos that is stored in an array list for suspect
* @return return all the tattoos for suspect
*/
public ArrayList<String> getTattoos(){
return tattoos;
}
/**
* to string to output information about suspect
* @return return information about the suspect
*/
public String toString(){
return super.toString()+"\nHair Color: "+hairColor+"\nEye Color: "+eyeColor+"\nFoot Size: "+footSize+
"\nBlood Type: "+bloodType+"\nFinger Print: "+fingerPrint+"\nDetails: "+details+"\nClothing: "+clothing+"\nTattoos: "+tattoos;
}
}