Package bit.connect
Class Filter
java.lang.Object
bit.connect.Filter
Student is the base class that controls all the information
contained within each user's profile.
A Graphics object encapsulates the state information needed
for each user that is utilizing the app whether or not they
are active. This state information includes the user's:
- First and last name
- NetID or username
- Preffered Pronouns
- Official Major and Intended Major
- Interests and intended career path
- Current location (only used when user is active)
- Active state
- Filters to match with other users
- Past matches
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the careerPath list.Returns the intendedMajor list.Returns the interests list.Returns the pronouns list.Returns the realMajor list.void
setCareerPath
(List<String> careerPath) Sets the careerPath list.void
setIntendedMajor
(List<String> intendedMajor) Sets the intendedMajor list.void
setInterests
(List<String> interests) Sets the interests list.void
setPronouns
(List<String[]> pronouns) Sets the pronouns list.void
setRealMajor
(List<String> realMajor) Sets the realMajor list.
-
Constructor Details
-
Filter
public Filter()Class constructor.
-
-
Method Details
-
compareTo
- Parameters:
student
- the student whose filters will be compared to- Returns:
- int
-
setPronouns
Sets the pronouns list.- Parameters:
pronouns
- the pronouns list to set
-
setRealMajor
Sets the realMajor list.- Parameters:
realMajor
- the realMajor list to set
-
setIntendedMajor
Sets the intendedMajor list.- Parameters:
intendedMajor
- the intendedMajor list to set
-
setCareerPath
Sets the careerPath list.- Parameters:
careerPath
- the careerPath list to set
-
setInterests
Sets the interests list.- Parameters:
interests
- the interests list to set
-
getPronouns
Returns the pronouns list.- Returns:
- the pronouns list
-
getRealMajor
Returns the realMajor list.- Returns:
- the realMajor list
-
getIntendedMajor
Returns the intendedMajor list.- Returns:
- the intendedMajor list
-
getCareerPath
Returns the careerPath list.- Returns:
- the careerPath list
-
getInterests
Returns the interests list.- Returns:
- the interests list
-