Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

activeUser - Variable in class BTOManagementSystem
 
add(Bar.Type, int, String, boolean) - Method in class Bar.Builder
Add value, representing a bar.
add256Colour(int, boolean) - Method in class Style.Builder
Apply a colour to the current text, either as label colour or at background.
addApplication(Application) - Method in class BTOManagementSystem
Save an application
addCenteredContent(String, int) - Method in class DisplayMenu.Builder
Add a row where contents in this row is centered, as long as width provided fits the menu/table well.
addContent(String) - Method in class DisplayMenu.Builder
Add a row in the current section of this menu or table.
addContents(List<String>) - Method in class DisplayMenu.Builder
Add an entire section of this menu or table.
addCurrentUserToPendingList() - Method in class BTOProject
 
addDivider() - Method in class DisplayMenu.Builder
Finalise the current section by adding the divider.
addEnquiry(Enquiry) - Method in class BTOManagementSystem
 
addEnquiry(Enquiry) - Method in interface EnquiriesDelegate
Add an enquiry to system.
addEnquiry(Enquiry) - Method in class EnquiriesSystem
Add an enquiry to the system
addOfficer(HDBOfficer) - Method in class BTOProject
Add an officer to the project.
addProject(BTOProject) - Method in class BTOManagementSystem
Add a project to system, and persist.
age - Variable in class User
User's age.
AGE - Enum constant in enum class ReportType
Report that shows how many applicants by age
all - Static variable in enum class ReportType
get all possible types
allMenuOptions - Static variable in enum class Applicant.Menu
 
allMenuOptions - Static variable in enum class HDBManager.Menu
 
allMenuOptions - Static variable in enum class HDBOfficer.Menu
 
allUsers() - Method in class BTOManagementSystem
 
ansiEscapeCodeExtraCharacters(String) - Method in class DisplayMenu
To prevent miscalculations due to ANSI escape codes.
applicant - Variable in class Application
The applicant
Applicant - Class in sc2002.FCS1.grp2
Represents an Applicant user.
Applicant(List<CSVCell>) - Constructor for class Applicant
Constructor for CSVParser class This constructor constructs values based on CSV encoded rows representing this object.
APPLICANT_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of Applicant objects, when decoded.
Applicant.Menu - Enum Class in sc2002.FCS1.grp2
Applicant-specific menu options
ApplicantActions - Class in sc2002.FCS1.grp2
Handles all actions specific to users logged in with applicant role.
ApplicantActions() - Constructor for class ApplicantActions
 
applicantNRIC - Variable in class Application
Temporary value for CSV parse and link
applicants - Variable in class BTOManagementSystem
 
Application - Class in sc2002.FCS1.grp2
This class represents a BTO application.
Application(List<CSVCell>) - Constructor for class Application
For CSVParser to parse a CSV row representing this class.
Application(BTOProject, FlatType, Applicant) - Constructor for class Application
Construct a BTO application.
applications - Variable in class BTOManagementSystem
 
APPLICATIONS_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of Application objects, when decoded.
ApplicationStatus - Enum Class in sc2002.FCS1.grp2
The status of an application.
ApplicationStatus(String) - Constructor for enum class ApplicationStatus
 
applyBTOFlow(Applicant, ArrayList<BTOProject>, SuperScanner) - Static method in class ApplicantActions
Flow for applying BTO project, for both applicants and hdb officers.
APPROVE_OR_REJECT_APPLICATIONS - Enum constant in enum class HDBManager.Menu
 
APPROVE_OR_REJECT_WITHDRAWAL_APPLICATIONS - Enum constant in enum class HDBManager.Menu
 
approveRejectApplication(HDBManager) - Static method in class HDBManagerActions
Approve / reject applicant's application
approveRejectWithdrawalApplication(HDBManager) - Static method in class HDBManagerActions
To approve or reject withdrawal application made by applicant by default if applicant submit a withdrawal application it is successful, unless otherwise rejected manually by manager.
asString() - Method in class DisplayMenu
Call this to get the built menu as a String for further processing if needed.
attemptLogin(User, String) - Method in class BTOManagementSystem
Try to login; if successful, it will set the user property
automatedChecks() - Method in class BTOManagementSystem
Call this on every system init for automated checks on expirable content.

B

BACK_BLACK - Enum constant in enum class Style.Code
 
BACK_BLUE - Enum constant in enum class Style.Code
 
BACK_CYAN - Enum constant in enum class Style.Code
 
BACK_GREEN - Enum constant in enum class Style.Code
 
BACK_MAGENTA - Enum constant in enum class Style.Code
 
BACK_RED - Enum constant in enum class Style.Code
 
BACK_WHITE - Enum constant in enum class Style.Code
 
BACK_YELLOW - Enum constant in enum class Style.Code
 
Bar - Class in sc2002.FCS1.grp2.builders
Construct visual bars on the console, using this builder class.
Bar() - Constructor for class Bar
 
Bar.Builder - Class in sc2002.FCS1.grp2.builders
Builder class to add values and build text like a bar.
Bar.Type - Enum Class in sc2002.FCS1.grp2.builders
The type of bar to be represented visually.
base - Static variable in class Style.Builder
ANSI ESC code prefix.
bold() - Method in class Style.Builder
Set the current text to bold.
BOLD - Enum constant in enum class Style.Code
 
BOOK_APPLICATION - Enum constant in enum class HDBOfficer.Menu
 
bookApplication(HDBOfficer) - Static method in class HDBOfficerActions
Method to help applicants to book an application for a flat
BOOKED - Enum constant in enum class ApplicationStatus
When application is confirmed and booked by an officer.
bookFlat(FlatType) - Method in class BTOProject
 
BOX_BOTTOM_LEFT_CORNER - Variable in class DisplayMenu
Represents bottom left corner of box.
BOX_BOTTOM_RIGHT_CORNER - Variable in class DisplayMenu
Represents bottom right corner of box.
BOX_LEADING_DIVIDER - Variable in class DisplayMenu
Represents section divider of leading (left) edge of box.
BOX_TOP_LEFT_CORNER - Variable in class DisplayMenu
Represents top left corner of box.
BOX_TOP_RIGHT_CORNER - Variable in class DisplayMenu
Represents top right corner of box.
BOX_TRAILING_DIVIDER - Variable in class DisplayMenu
Represents section divider of trailing (right) edge of box.
BTOManagementApplication - Class in sc2002.FCS1.grp2
Main entry for our project's CLI application.
BTOManagementApplication() - Constructor for class BTOManagementApplication
 
BTOManagementSystem - Class in sc2002.FCS1.grp2
The key class that handles all important data.
BTOManagementSystem() - Constructor for class BTOManagementSystem
 
BTOProject - Class in sc2002.FCS1.grp2
A class representing BTO Project containing information for the project and has functions to modify the project information and handle users' applications to the project.
BTOProject(String, String, int, int, int, int, LocalDate, LocalDate, HDBManager, int) - Constructor for class BTOProject
Constructor for BTOProject class when manager creates a new BTOProject.
BTOProject(List<CSVCell>) - Constructor for class BTOProject
 
BTOProject.TableColumnOption - Enum Class in sc2002.FCS1.grp2
Options to decide which columns to be displayed
build() - Method in class DisplayMenu.Builder
Finalise and build menu or table.
Builder() - Constructor for class DisplayMenu.Builder
 
Builder() - Constructor for class Style.Builder
 
Builder(int, int) - Constructor for class Bar.Builder
 
buildMenuItem(int, Enquiry) - Method in class EnquiriesSystem
Build a menu item ready for display later on.

C

canApplyProject() - Method in class Applicant
 
canApplyProject() - Method in class HDBManager
 
canApplyProject() - Method in class User
For checking on whether a user should be allowed to apply for a project, based on eligibility criteria.
changeListingFilter() - Static method in class BTOManagementApplication
Show change filter options and ask what user want
changeListingSort() - Static method in class BTOManagementApplication
Show change listing sort options and ask what user want
changePassword() - Static method in class BTOManagementApplication
 
character - Variable in enum class Bar.Type
The bar design character as a string.
CHECK_PENDING_PROJECT - Enum constant in enum class HDBOfficer.Menu
 
checkPassword(String) - Method in class User
Check if a user-provided password is correct for user.
checkProjectApplicationStatus(HDBOfficer) - Static method in class HDBOfficerActions
Method to check the project application status for HDB Officer as an officer.
checkProjectCreationEligibility(LocalDate, LocalDate) - Static method in class HDBManagerActions
Check if the project creation is eligible based on the opening and closing dates.
cleanup() - Method in class BTOManagementSystem
Do final cleanup, call when finished
CLOSING_DATE - Enum constant in enum class BTOProject.TableColumnOption
 
CLOSING_DATE_ASCENDING - Enum constant in enum class ListingSort
 
CLOSING_DATE_DESCENDING - Enum constant in enum class ListingSort
 
closingDate - Variable in class BTOProject
closing date of project
code - Variable in enum class Style.Code
The ANSI ESC code that represents each trait of each code.
code(Style.Code) - Method in class Style.Builder
Apply an ANSI code
Code(int) - Constructor for enum class Style.Code
Internally construct the enum value.
commaSeperatedValues - Variable in class CSVCell
Values of comma separated values within a cell.
common() - Static method in class BTOManagementSystem
The shared object, singleton style.
commonInstance - Static variable in class BTOManagementSystem
 
commonMenuOptions - Static variable in class User
Options that are common to all user types
containsUnitsThatFitsPriceRange(int, int) - Method in class BTOProject
 
content - Variable in class Message
Contents of this message.
contents - Variable in class DisplayMenu.Builder
Sections of rows of content
contents - Variable in class DisplayMenu
Sections of rows of content
CREATE_PROJECT - Enum constant in enum class HDBManager.Menu
 
createProject(HDBManager) - Static method in class HDBManagerActions
Create a new project and add it to the system.
crosslinking() - Method in class BTOManagementSystem
Links necessary objects to certain class types.
CSVCell - Class in sc2002.FCS1.grp2
A simple class for representing an individual cell of any specific row and column of a CSV file.
CSVCell(String) - Constructor for class CSVCell
Construct an object based on contents of a CSV cell.
CSVDecodable - Class in sc2002.FCS1.grp2
The purpose of this abstract class is to provide a common constructor for the CSVParser class to construct objects.
CSVDecodable() - Constructor for class CSVDecodable
Default constructor.
CSVDecodable(List<CSVCell>) - Constructor for class CSVDecodable
The CSVDecodable constructor should not be called directly.
CSVEncodable - Interface in sc2002.FCS1.grp2
The purpose of this interface is to provide a set of common functionality for the CSVEncoder class to encode objects for generating a CSV file, that is compliant for future parsing.
CSVEncoder - Class in sc2002.FCS1.grp2
Use this class to write CSV files for each supported types (such as the users and projects).
CSVEncoder(String, String, ArrayList<CSVEncodable>) - Constructor for class CSVEncoder
Construct using this constructor if CSV file is expected at the default location.
CSVFileTypes - Enum Class in sc2002.FCS1.grp2
Represents a CSV File Type that can be encodable.
CSVFileTypes(String) - Constructor for enum class CSVFileTypes
Enum constructor
CSVParser - Class in sc2002.FCS1.grp2
This class parses CSV files.
CSVParser() - Constructor for class CSVParser
Use this constructor to parse CSVs as expected in default CSV file directory.
CSVParser(String) - Constructor for class CSVParser
Use this constructor if you would like to parse CSV files in a non-default directory.
current - Variable in class DisplayMenu.Builder
Incomplete section of content of currrent.
currentCodes - Variable in class Style.Builder
ANSI code numbers to be applied for the current text.
currentText - Variable in class Style.Builder
The current, un-finalised text.

D

dateFormatter - Variable in class Utilities
Common Date formatter, based on provided CSV file's date format of d/M/yy.
datesOverlap(LocalDate, LocalDate, LocalDate, LocalDate) - Static method in class HDBOfficerActions
helper function to check with date overlaps
DEFAULT - Enum constant in enum class ListingFilter
 
DEFAULT - Enum constant in enum class ListingSort
 
delegate - Variable in class EnquiriesSystem
 
DELETE_PROJECT - Enum constant in enum class HDBManager.Menu
 
deleteProject(BTOProject) - Method in class BTOManagementSystem
Delete a project.
deleteProject(HDBManager) - Static method in class HDBManagerActions
Delete a project from the system.
display() - Method in class DisplayMenu
Call this to directly print the built and configured menu on console.
display() - Method in class Enquiry
Display this enquiry on the console, formatted.
display(List<BTOProject>, List<BTOProject.TableColumnOption>) - Static method in class BTOProject
Use this to draw a table of projects.
displayEnquiriesMenu() - Method in class EnquiriesSystem
Display applicable menu items
displayMenu() - Static method in class BTOManagementApplication
Displays the main menu of the application.
DisplayMenu - Class in sc2002.FCS1.grp2.builders
Draw menus and tables enclosed in rectangles using this class, visually.
DisplayMenu(DisplayMenu.Builder) - Constructor for class DisplayMenu
Private constructor for builder class to use.
DisplayMenu.Builder - Class in sc2002.FCS1.grp2.builders
Use this class to build a menu.
doesProjectExist(String, BTOProject) - Method in class BTOManagementSystem
Checks if there is already a project with a similar name.
DOTTED - Enum constant in enum class Bar.Type
Dotted Bar Design

E

EDIT_PROJECT - Enum constant in enum class HDBManager.Menu
 
editEnquiry(SuperScanner, EnquiriesSystem, Enquiry) - Static method in class ApplicantActions
 
editProject(HDBManager) - Static method in class HDBManagerActions
Edit an existing project.
encodables - Variable in class CSVEncoder
Each row of data that should be written in the CSV file.
encode() - Method in class Application
 
encode() - Method in class BTOProject
Encode the BTO project to a CSV string.
encode() - Method in interface CSVEncodable
Override this to provide a line/row of CSV content.
encode() - Method in class CSVEncoder
Call this method to write the CSV file with the respective data at path.
encode() - Method in class Enquiry
 
encode() - Method in class FlatInfo
Encodes the FlatInfo object into a CSV format string.
encode() - Method in class Message
 
encode() - Method in class User
Prepares text for CSV encoding purposes.
encodeBoolean(boolean) - Static method in class CSVEncoder
Encode Booleans In caps, as it seems Excel does it this way.
encodeListOfStrings(List<String>) - Static method in class CSVEncoder
Encode a list of strings to be represented within a CSV cell.
enquiries - Variable in class BTOManagementSystem
 
ENQUIRIES_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of Enquiry objects, when decoded.
ENQUIRIES_SYSTEM - Enum constant in enum class HDBManager.Menu
 
EnquiriesDelegate - Interface in sc2002.FCS1.grp2
For enquiries related functionality
enquiriesSystem - Variable in class User
Enquiries system handles all enquiry needs of the user.
EnquiriesSystem - Class in sc2002.FCS1.grp2
Handles all enquiry related processes for a user.
EnquiriesSystem(EnquiriesDelegate) - Constructor for class EnquiriesSystem
 
enquiriesSystemFlow(HDBOfficer) - Static method in class HDBOfficerActions
Method to handle the enquiries system flow for HDB Officer.
Enquiry - Class in sc2002.FCS1.grp2
Each enquiry acts as a question and answer session, between applicants and officers or managers of a project.
Enquiry(List<CSVCell>) - Constructor for class Enquiry
Construct an enquiry by the CSVParser.
Enquiry(Message, BTOProject) - Constructor for class Enquiry
Construct a new enquiry from an Applicant role.
ENTER_ENQUIRIES_SYSTEM - Enum constant in enum class HDBOfficer.Menu
 
enterEnquiriesFlow(HDBManager) - Static method in class HDBManagerActions
Enter into enquiries system
enterEnquiriesSystem(Applicant) - Static method in class ApplicantActions
 
equals(Object) - Method in class Enquiry
 
equals(Object) - Method in class User
Checks if user is same, based on NRIC.

F

fileName - Variable in enum class CSVFileTypes
CSV filename of that this enum value represents.
filterApplications(ArrayList<Application>) - Method in class BTOManagementSystem
Get the applications that are filtered by the active user's filter.
filterProjects(ArrayList<BTOProject>) - Method in class BTOManagementSystem
Get the projects that are filtered by the active user's filter.
findLongestLine() - Method in class DisplayMenu
Find the longest line (string) in the menu.
findUserByNRIC(String) - Method in class BTOManagementSystem
Check if user exists
FLAT_TYPE - Enum constant in enum class ReportType
Report that shows differences by flat type (e.g 2/3 room)
FlatInfo - Class in sc2002.FCS1.grp2
Class representing information about a flat in the HDB project.
FlatInfo(FlatType, int, int) - Constructor for class FlatInfo
Constructor to create a FlatInfo object with specified type, remaining units, and price.
flats - Variable in class BTOProject
flat info, based on flat type
flatType - Variable in class Application
The flat type that is applied.
FlatType - Enum Class in sc2002.FCS1.grp2
Enum that represents the type of the flats (The assignment assumes there are only 2-Room and 3-Room)
FlatType(String) - Constructor for enum class FlatType
Constructor for FlatType enum.
formatDate(LocalDate) - Method in class Utilities
Formats a LocalDate object into the CSV file compliant format of d/M/yy (e.g.
formatDateFromDateTime(LocalDateTime) - Method in class Utilities
Formats a date and time object as human-readable date text.
formatDateTime(LocalDateTime) - Method in class Utilities
Format date and time object as string, in preparation for encoding into a CSV field.
formatterForCSVDateTime() - Method in class Utilities
Standardised format to be used to encode date time objects in CSV file.
formatTimeFromDateTime(LocalDateTime) - Method in class Utilities
Formats a date and time object as human-readable time text.
formatUserReadableDate(LocalDate) - Method in class Utilities
Format date into text of format MMM dd, yyyy (Example: Jan 1, 2025)
formatUserReadableDateTime(LocalDateTime) - Method in class Utilities
Formats a date and time object as human-readable date and time text.
fromInt(int) - Static method in enum class FlatType
Construct base on integer value that can represent a flat type.
fromOrdinal(int) - Static method in enum class Applicant.Menu
Get the menu value based on index.
fromOrdinal(int) - Static method in enum class HDBManager.Menu
Get the menu value based on index.
fromOrdinal(int) - Static method in enum class HDBOfficer.Menu
Get the menu value based on index.
fromOrdinal(int) - Static method in enum class ReportType
construct from the index of enum
fromString(String) - Static method in enum class ApplicationStatus
 
fromString(String) - Static method in enum class FlatType
Convert a string to the respective FlatType enum.
fromString(String) - Static method in enum class ListingFilter
Converts a string to a ListingFilter enum value.
fromString(String) - Static method in enum class ListingSort
Converts a string to a ListingSort enum value.
fromString(String) - Static method in enum class MaritalStatus
 
fromString(String) - Static method in enum class WithdrawalStatus
Decode from string content

G

getActiveUser() - Method in class BTOManagementSystem
The logged in user.
getActiveUserForPermittedTask(Class<U>) - Method in class BTOManagementSystem
Get the active user, and checks for access rights before returning.
getAge() - Method in class User
Getter method for retrieving age of a user.
getApplicableFlats(Set<FlatType>) - Method in class BTOProject
Get the applicable flat information for specific flat types.
getApplicableProjects() - Method in class BTOManagementSystem
Retrieve projects applicable for the current user.
getApplicableProjectsAsApplicant() - Method in class BTOManagementSystem
Projects
getApplicant() - Method in class Application
Get the applicant of this application
getApplications() - Method in class BTOManagementSystem
Get applicable applications, depending on logged in user access rights
getBoolValue() - Method in class CSVCell
Convenience method to get value as an boolean.
getClosingDate() - Method in class BTOProject
Get the closing date of the project.
getCode() - Method in enum class Style.Code
The ANSI code.
getCommonMenuOptions() - Static method in class User
Get number of common menu items
getContent() - Method in class Message
Get the content.
getDateTimeValue() - Method in class CSVCell
Convenience method to get value as date and time.
getDateValue() - Method in class CSVCell
Convenience method to get value as date.
getEligibleFlatTypes() - Method in class Applicant
This method gives the eligible flat types available to the applicant
getEnquiries() - Method in class BTOManagementSystem
 
getEnquiries() - Method in interface EnquiriesDelegate
Retrieve enquiries that is respondable by an authorised personnel, subject to individual rights
getEnquiries() - Method in class EnquiriesSystem
Get all enquiries of system, self and respondable (if access control allows)
getEnquiriesSystem() - Method in class User
Get the enquiries system object
getFileName() - Method in enum class CSVFileTypes
Get file name of this CSV file.
getFlatForType(FlatType) - Method in class BTOProject
Get the flat information for a specific flat type.
getFlatType() - Method in class Application
Get flat type
getFormat() - Method in class Bar.Builder
Standardised bar formatting Title [----Bar----] Percentage
getGreetings() - Static method in class BTOManagementApplication
Different greetings depending on time of day.
getHDBOfficersNames() - Method in class BTOProject
Get the list of officer names assigned to the project.
getHeader() - Method in enum class CSVFileTypes
Provides the header of a CSV file This ensures that the generated or updated CSV file retains its header, such that it is still readable in a spreadsheets application.
getHeaderSpacing() - Method in enum class BTOProject.TableColumnOption
 
getId() - Method in class Enquiry
Retrieve the unique identifier of this object.
getInstance() - Static method in class Utilities
Get Singleton instance of Utilities.
getIntValue() - Method in class CSVCell
Convenience method to get value as an integer.
getKeyword() - Method in enum class ListingFilter
Returns the keyword associated with this enum value.
getLastUpdatedDate() - Method in class Application
The last update date and time.
getListingFilter() - Method in class User
Getter method for retrieving listing filter of a user.
getListingSort() - Method in class User
Getter method for retrieving listing sort of a user.
getManagerInCharge() - Method in class BTOProject
Get the object of the manager in charge of the project.
getMaritalStatus() - Method in class User
Getter method for retrieving marital status of a user.
getMenu() - Method in class Applicant
 
getMenu() - Method in class HDBManager
Prepares a list of menu options that includes options specific to managers only.
getMenu() - Method in class HDBOfficer
 
getMenu() - Method in class User
This method will prepare the list of tasks of which a user can perform.
getMenuWithScopedOptions(ScopedOption[]) - Method in class User
This method facilitates the generation of a menu that includes options specific to a certain user type.
getName() - Method in class User
Getter method returns the name of the user.
getNeighborhood() - Method in class BTOProject
Get the neighborhood of the BTO project.
getNric() - Method in class User
Getter method for retrieving NRIC of a user.
getOfficers() - Method in class BTOProject
Get the list of officers assigned to the project.
getOpeningDate() - Method in class BTOProject
Get the opening date of the project.
getOptionName() - Method in enum class Applicant.Menu
 
getOptionName() - Method in enum class HDBManager.Menu
 
getOptionName() - Method in enum class HDBOfficer.Menu
 
getOptionName() - Method in interface ScopedOption
Use this method to get the option name to be printed in the menu.
getOwnEnquiries() - Method in class BTOManagementSystem
 
getOwnEnquiries() - Method in interface EnquiriesDelegate
Retrieve all enquiries of own.
getPendingOfficers() - Method in class BTOProject
 
getPendingOfficersNames() - Method in class BTOProject
Get the list of pending approval officer's names to the project.
getPrice() - Method in class FlatInfo
Returns the price of the flat type.
getProject() - Method in class Application
The project that's being applied for.
getProject() - Method in class Enquiry
Retrieve the project associated to this enquiry.
getProjectName() - Method in class BTOProject
Get the project name of the BTO project.
getProjects() - Method in class BTOManagementSystem
Retrieve all projects of the system.
getQuestion() - Method in class Enquiry
Retrieve the question message that has been added in by the applicant that has submitted this enquiry.
getReadableTypeName() - Method in class Applicant
 
getReadableTypeName() - Method in class HDBManager
 
getReadableTypeName() - Method in class HDBOfficer
 
getReadableTypeName() - Method in class User
User-readable name for the type of user.
getReceipt() - Method in class Application
The receipt for a successfully booked application.
getRemainingUnits() - Method in class FlatInfo
Returns the number of remaining units of the flat type.
getRespondableEnquiries() - Method in class EnquiriesSystem
Retrieve a list of enquiries that are respondable by a manager or officer.
getResponse() - Method in class Enquiry
Retrieve the response object provided by an authorised officer or manager, if any.
getScanner() - Method in class BTOManagementSystem
Use this scanner to get user input.
getScanner() - Method in class SuperScanner
Where necessary, you can access the associated Scanner object where necessary.
getStatus() - Method in class Application
Get the application's status.
getStringEndDate() - Method in class BTOProject
Get the closing date as a string.
getStringOpeningDate() - Method in class BTOProject
Get the opening date as a string.
getSuccessfulApplications() - Method in class BTOManagementSystem
Get all applicant's successful applications which the logged in officer is in charge of
getThreeRoomPrice() - Method in class BTOProject
Get the price of three room units in the project.
getThreeRoomUnits() - Method in class BTOProject
Get the number of three room units available in the project.
getTimestamp() - Method in class Message
Get the timestamp whereby message was submitted.
getTitle() - Method in enum class BTOProject.TableColumnOption
 
getTotalOfficerSlots() - Method in class BTOProject
Get the total number of officer slots available for the project.
getTwoRoomPrice() - Method in class BTOProject
Get the price of two room units in the project.
getTwoRoomUnits() - Method in class BTOProject
Get the number of two room units available in the project.
getType() - Method in class FlatInfo
Returns the type of flat.
getUser() - Method in class Message
Get the user.
getUUIDValue() - Method in class CSVCell
Convenience method to get value as a UUID.
getValue() - Method in class CSVCell
Provides the contents of the cell, as parsed by the CSVParser class.
getValues() - Method in class CSVCell
Provides the values of the cell, separated by commas.
getValuesOrValue() - Method in class CSVCell
Provides multiple values of cell where possible, else, the single string value.
getValueSpacing() - Method in enum class BTOProject.TableColumnOption
 
getVisibility() - Method in class BTOProject
Get the visibility of the project.
getVisibleProjects() - Method in class BTOManagementSystem
Get projects that are public visibility (i.e.
getWithdrawableApplications() - Method in class BTOManagementSystem
Get withdrawal applications
getWithdrawalApplications() - Method in class BTOManagementSystem
Get withdrawal applications made by applicant.
getWithdrawalStatus() - Method in class Application
Get the withdrawal status.

H

handleAction(int) - Static method in class BTOManagementApplication
Handles the option selected by user.
handleAction(Applicant.Menu, Applicant) - Static method in class ApplicantActions
Point of entry, to be handed over from BTOManagementApplication
handleAction(HDBManager.Menu, HDBManager) - Static method in class HDBManagerActions
handle action based on user input, passed in from BTOManagementApplication
handleAction(HDBOfficer.Menu, HDBOfficer) - Static method in class HDBOfficerActions
Handles user input selection from BTOManagementApplication
handleUserResponse(String) - Static method in class BTOManagementApplication
Handle what the user has inputed.
hasMultipleValues() - Method in class CSVCell
Provides a way to tell if there are multiple values retrievable in this cell.
hasResponded() - Method in class Enquiry
Check if this enquiry has been responded by an authorised personnel or not.
HDBManager - Class in sc2002.FCS1.grp2
This represents a user that is of HDB Manager role.
HDBManager(List<CSVCell>) - Constructor for class HDBManager
Constructor for CSVParser class This constructor constructs values based on CSV encoded rows representing this object.
HDBManager.Menu - Enum Class in sc2002.FCS1.grp2
Possible menu options for a HDB Manager role Each option listed here are options that only a HDB Manager can interact with.
HDBManagerActions - Class in sc2002.FCS1.grp2
User interactable actions for when logged in user is of HDB Manager role
HDBManagerActions() - Constructor for class HDBManagerActions
 
HDBOfficer - Class in sc2002.FCS1.grp2
This represents a user that is of HDB Officer role.
HDBOfficer(List<CSVCell>) - Constructor for class HDBOfficer
Constructor for CSVParser class This constructor constructs values based on CSV encoded rows representing this object.
HDBOfficer.Menu - Enum Class in sc2002.FCS1.grp2
Possible menu options for a HDB Manager role Each option listed here are options that only a HDB Manager can interact with.
HDBOfficerActions - Class in sc2002.FCS1.grp2
User interactable actions for when logged in user is of HDB Officer role
HDBOfficerActions() - Constructor for class HDBOfficerActions
 
headerLine - Variable in class CSVEncoder
Represents the header row.
headerSpacing - Variable in enum class BTOProject.TableColumnOption
 

I

id - Variable in class Enquiry
A unique identifier to identify each enquiry.
INDEX_NUMBER - Enum constant in enum class BTOProject.TableColumnOption
 
instance - Static variable in class Utilities
The static instance of this class.
InsufficientAccessRightsException - Exception Class in sc2002.FCS1.grp2
This exception should be thrown when a restricted method is called while the logged in user is unauthorized to perform said action.
InsufficientAccessRightsException() - Constructor for exception class InsufficientAccessRightsException
Construct the exception.
isActiveUserPermitted(Class<U>) - Method in class BTOManagementSystem
Decide if the current active user should be permitted to do a certain task, based on access rights by type of user.
isBlank() - Method in class CSVCell
Returns true if cell is blank.
isDateWithin(String) - Method in class BTOProject
Check if the given date is within the opening and closing dates of the project.
isDateWithin(LocalDate) - Method in class BTOProject
Check if the given date is within the opening and closing dates of the project.
isEligible(Set<FlatType>) - Method in class BTOProject
Check if the given flat types are eligible for application.
isOfficerForProject(BTOProject) - Method in class HDBOfficer
Check if this officer is involved in given project.
isUserInvolved(User) - Method in class Enquiry
Checks if the provided user is involved in this enquiry, as an enquirer.
italic() - Method in class Style.Builder
Set the current text to italics.
ITALIC - Enum constant in enum class Style.Code
 
IUserActions - Interface in sc2002.FCS1.grp2
This interface is used to define the actions that can be performed by a user.

J

JOIN_PROJECT - Enum constant in enum class HDBOfficer.Menu
 
joinProject(HDBOfficer) - Static method in class HDBOfficerActions
Method which checks pre-req before letting HDB Officer submit their name for approval for a project.

K

keyword - Variable in enum class ListingFilter
The keyword associated with this enum value.

L

lastUpdated - Variable in class Application
The last updated date and time
LINE_HORIZONTAL - Variable in class DisplayMenu
Represents horizontal line of box.
LINE_VERTICAL - Variable in class DisplayMenu
Represents vertical line of box.
linkApplicant(List<Applicant>) - Method in class Application
Call this to link relevant applicant objects to this object, post CSV parse.
linkProject(ArrayList<BTOProject>) - Method in class Enquiry
Only call if projectName is provided by CSV parsing and not null.
linkProject(List<BTOProject>) - Method in class Application
Call this to link relevant project to this object, post CSV parse.
linkUser(List<User>) - Method in class Message
Use this to link User objects to this Message.
linkUsers(List<User>) - Method in class Enquiry
Link connected users to this object.
listingFilter - Variable in class User
User's listing filter type.
ListingFilter - Enum Class in sc2002.FCS1.grp2
Enum representing different filters for listing.
ListingFilter() - Constructor for enum class ListingFilter
Default constructor for ListingFilter.
ListingFilter(String) - Constructor for enum class ListingFilter
Constructor for ListingFilter with a specific keyword.
listingSort - Variable in class User
User's listing sort type.
ListingSort - Enum Class in sc2002.FCS1.grp2
This class is used to sort the listings based on certain criteria.
ListingSort(String) - Constructor for enum class ListingSort
 
login() - Static method in class BTOManagementApplication
User login flow.
login(User) - Method in class BTOManagementSystem
Call this when login is successful.
logout() - Method in class BTOManagementSystem
Call this when user logout, resets stuff

M

main(String[]) - Static method in class BTOManagementApplication
Entry point for CLI application, read and write.
MANAGER - Enum constant in enum class BTOProject.TableColumnOption
 
MANAGER_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of HDBManager objects, when decoded.
managerInCharge - Variable in class BTOProject
the manager in charge of this project
managerName - Variable in class BTOProject
temporary value for decoding and linking purposes.
managers - Variable in class BTOManagementSystem
 
MARITAL_STATUS - Enum constant in enum class ReportType
Report that shows how many applicants are married vs single
maritalStatus - Variable in class User
User's martial status.
MaritalStatus - Enum Class in sc2002.FCS1.grp2
Represents the marital status of each user.
MaritalStatus(String) - Constructor for enum class MaritalStatus
 
MARRIED - Enum constant in enum class MaritalStatus
 
max - Variable in class Bar.Builder
Max value of the set of bars.
MAX_OFFICER_NUM - Static variable in class BTOProject
Number of officers at max
Menu() - Constructor for enum class HDBManager.Menu
 
Menu() - Constructor for enum class HDBOfficer.Menu
 
Menu(String) - Constructor for enum class Applicant.Menu
 
Message - Class in sc2002.FCS1.grp2
This class represents a message of an enquiry, by a user of our application, typically an applicant.
Message(List<CSVCell>) - Constructor for class Message
Constructor for CSVParser
Message(User, String) - Constructor for class Message
Construct a message for a user.

N

name - Variable in enum class ReportType
Readable name of this type.
name - Variable in class User
User's name.
NAME - Enum constant in enum class ListingFilter
 
nameEquals(User) - Method in class User
Checks if name is equal between this and another user.
neighborhood - Variable in class BTOProject
neighbourhood which project belong to
NEIGHBORHOOD - Enum constant in enum class ListingFilter
 
newLine() - Method in class Style.Builder
Go to new line.
nextBool(String) - Method in class SuperScanner
Prints the prompt, and then wait for user's input, on same line, expecting a boolean.
nextBoolUntilCorrect(String) - Method in class SuperScanner
Get user input that is binary (either true or false).
nextDate(String) - Method in class SuperScanner
Prints the prompt, and then wait for user's input, on same line, expecting a date, of d/M/yy.
nextDateUntilCorrect(String) - Method in class SuperScanner
Get user input of date type, while ensuring format is correct.
nextInt(String) - Method in class SuperScanner
Prints the prompt, and then wait for user's input, on same line, expecting a number.
nextIntUntilCorrect(String) - Method in class SuperScanner
Get input from user until input is a number.
nextIntUntilCorrect(String, int, int) - Method in class SuperScanner
Get input from user until input is a number, and falls within boundaries provided.
NOT - Enum constant in enum class WithdrawalStatus
Not Withdrawn, application expected to go as expected.
nric - Variable in class Message
Temporary value for CSV parsing and further linking.
nric - Variable in class User
User's NRIC number.

O

OFFICER_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of HDBOfficer objects, when decoded.
OFFICER_SLOTS - Enum constant in enum class BTOProject.TableColumnOption
 
officerNames - Variable in class BTOProject
temporary value for decoding and linking purposes.
officers - Variable in class BTOManagementSystem
 
officers - Variable in class BTOProject
officers of this project
OFFICERS - Enum constant in enum class BTOProject.TableColumnOption
 
OPENING_DATE - Enum constant in enum class BTOProject.TableColumnOption
 
OPENING_DATE_ASCENDING - Enum constant in enum class ListingSort
 
OPENING_DATE_DESCENDING - Enum constant in enum class ListingSort
 
openingDate - Variable in class BTOProject
Opening date of project
optionName - Variable in enum class Applicant.Menu
 
ownEnquiries - Variable in class EnquiriesSystem
 
ownEnquiriesSize() - Method in class EnquiriesSystem
Size of own enquiries list

P

parse(String, Class<Decodable>) - Method in class CSVParser
Generic method to parse various class types that extends CSVDecodable
parseApplicants() - Method in class CSVParser
 
parseApplications() - Method in class CSVParser
 
parseDate(String) - Method in class Utilities
Parse a date from text.
parseDateTime(String) - Method in class Utilities
Parse date and time strings from CSV fields.
parseEnquiries() - Method in class CSVParser
 
parseLine(String) - Method in class CSVParser
Parse each line, with special handling for CSV cells with list values.
parseManagers() - Method in class CSVParser
 
parseOfficer() - Method in class CSVParser
 
parseProjects() - Method in class CSVParser
 
password - Variable in class User
User's password.
path - Variable in class CSVEncoder
The path for which the CSV file should be written at.
path - Variable in class CSVParser
The file directory path which the CSV files are expected to be in.
PENDING - Enum constant in enum class ApplicationStatus
The initial status; When an applicant applies, this is the status, as it awaits approval from authorised personnel.
PENDING_OFFICERS - Enum constant in enum class BTOProject.TableColumnOption
 
pendingOfficerNames - Variable in class BTOProject
temporary value for decoding and linking purposes.
pendingOfficers - Variable in class BTOProject
Officers that are pending approval
prepareHeader(String) - Static method in class BTOManagementApplication
Use this to prepare a string that centers text and places hyphens left and right of it.
presentationSize - Variable in class Bar.Builder
Max size of the bar, units: character.
price - Variable in class FlatInfo
The price of the flat type.
print() - Method in class Bar.Builder
Directly print the built bar contents in console.
print() - Method in class Style.Builder
Print formatted content directly in console.
print() - Method in class User
Prints all fields of this user object, in a concise manner.
print(String) - Static method in class ReceiptPrinter
Invoke this to print text character by character, emulating the effect of a dot matrix printer.
printApplicationsTable(List<Application>) - Static method in class ApplicantActions
Method to print the application that applicant have applied, if any.
process() - Method in class Style.Builder
Finalise everything, in preparation for export.
project - Variable in class Application
The project which this application is applied to.
project - Variable in class Enquiry
The BTO Project which the enquiry is intended to be about.
PROJECT - Enum constant in enum class ReportType
Report that shows how many applicants per project
PROJECT_LIST - Enum constant in enum class CSVFileTypes
Represents a CSV file that contains a list of BTOProject objects, when decoded.
projectName - Variable in class Application
Temporary value for CSV parse and link
projectName - Variable in class BTOProject
name of project
projectName - Variable in class Enquiry
Placeholder object as intermediary for CSV parsing This is because the CSV cells only represents projects as their names.
projects - Variable in class BTOManagementSystem
 
projectsClosureUponExpiry() - Method in class BTOManagementSystem
Sets all expired projects as non-visible.

Q

question - Variable in class Enquiry
A question intended for an authorised HDB manager or officer to respond to.

R

ReceiptPrinter - Class in sc2002.FCS1.grp2.helpers
A visual effect to emulate the feel of printing a receipt with a dot matrix printer.
ReceiptPrinter() - Constructor for class ReceiptPrinter
This class should only be used statically with the print(String) method.
REJECTED - Enum constant in enum class WithdrawalStatus
Rejected Withdrawal.
remainingUnits - Variable in class FlatInfo
The number of remaining units of the flat type.
removeEnquiry(Enquiry) - Method in class BTOManagementSystem
 
removeEnquiry(Enquiry) - Method in interface EnquiriesDelegate
Remove an enquiry in system.
removeEnquiry(Enquiry) - Method in class EnquiriesSystem
Remove an enquiry.
removeEnquiry(Enquiry, EnquiriesSystem) - Static method in class ApplicantActions
 
removeOfficer(HDBOfficer) - Method in class BTOProject
Remove an officer from the project.
removeOfficerFromPendingList(HDBOfficer) - Method in class BTOProject
 
repeatableMenuFlow(Applicant, ArrayList<BTOProject>, SuperScanner) - Static method in class ApplicantActions
this is the menu display which will be displayed at the home page for applicants.
REPORTS - Enum constant in enum class HDBManager.Menu
 
reportsFlow(HDBManager) - Static method in class HDBManagerActions
Flow to view reports for manager
ReportType - Enum Class in sc2002.FCS1.grp2
Type of report.
ReportType(String) - Constructor for enum class ReportType
Internal constructor for enum value
respondableEnquiries - Variable in class EnquiriesSystem
 
response - Variable in class Enquiry
A response from an authorised HDB manager or officer to answer the question.
result - Variable in class Style.Builder
The contents including ANSI escape codes.
retrieveAllUsers() - Method in class CSVParser
Parse all users, regardless of user type.
retrieveConnectedUsers(ArrayList<HDBOfficer>, ArrayList<HDBManager>) - Method in class BTOProject
Retrieve the connected officers and manager as an object for this project by comparing the names the project has.
retrieveEnquiryFromUser(SuperScanner, EnquiriesSystem) - Static method in class ApplicantActions
 
REVERSE_DEFAULT - Enum constant in enum class ListingSort
 
ROOM_ONE_PRICE - Enum constant in enum class BTOProject.TableColumnOption
 
ROOM_ONE_UNITS - Enum constant in enum class BTOProject.TableColumnOption
 
ROOM_TWO_PRICE - Enum constant in enum class BTOProject.TableColumnOption
 
ROOM_TWO_UNITS - Enum constant in enum class BTOProject.TableColumnOption
 

S

saveChanges(CSVFileTypes) - Method in class BTOManagementSystem
Save changes to the CSV file
sc2002.FCS1.grp2 - package sc2002.FCS1.grp2
Main package of the BTO app.
sc2002.FCS1.grp2.builders - package sc2002.FCS1.grp2.builders
This package contains a small group of builder classes, to build visual patterns like formatted text, bars, menu or tables.
sc2002.FCS1.grp2.helpers - package sc2002.FCS1.grp2.helpers
This package contains a small group of helper classes for convenience, code reusability.
scanner - Variable in class BTOManagementSystem
 
scanner - Variable in class SuperScanner
Scanner object to be referenced in class.
ScopedOption - Interface in sc2002.FCS1.grp2
Enums that are intended to be used to identify an access control scope menu option should implement this interface.
searchFlow(Applicant, ArrayList<BTOProject>, SuperScanner) - Static method in class ApplicantActions
Flow to search for a project
sendEnquiryFlow(Applicant) - Static method in class ApplicantActions
 
setClosingDate(String) - Method in class BTOProject
Set the closing date of the project.
setClosingDate(LocalDate) - Method in class BTOProject
Set the closing date of the project.
setDelegate(EnquiriesDelegate) - Method in class EnquiriesSystem
Set the delegate object
setEnquiriesSystem(EnquiriesSystem) - Method in class User
Assign a new enquiries system object, should only be handled by BTOManagementSystem.
setKeyword(String) - Method in enum class ListingFilter
Sets the keyword for this enum value.
setListingFilter(ListingFilter) - Method in class User
For setting a new listing filter.
setListingSort(ListingSort) - Method in class User
For setting a new listing filter.
setNeighborhood(String) - Method in class BTOProject
Set the neighborhood of the BTO project.
setOpeningDate(String) - Method in class BTOProject
Set the opening date of the project.
setOpeningDate(LocalDate) - Method in class BTOProject
Set the opening date of the project.
setPassword(String) - Method in class User
For setting a new password.
setPrice(int) - Method in class FlatInfo
Sets the price of the flat type.
setProjectName(String) - Method in class BTOProject
Set the project name of the BTO project.
setRemainingUnits(int) - Method in class FlatInfo
Sets the number of remaining units of the flat type.
setResponse(Message) - Method in class Enquiry
Use this to provide a response to the enquiry question.
setStatus(ApplicationStatus) - Method in class Application
Update status and update last updated time.
setThreeRoomPrice(int) - Method in class BTOProject
Set the price of three room units in the project.
setThreeRoomUnits(int) - Method in class BTOProject
Set the number of three room units available in the project.
setTitle(String) - Method in class DisplayMenu.Builder
Set the title of this menu.
setTotalOfficerSlots(int) - Method in class BTOProject
Set the total number of officer slots available for the project.
setTwoRoomPrice(int) - Method in class BTOProject
Set the price of two room units in the project.
setTwoRoomUnits(int) - Method in class BTOProject
Set the number of two room units available in the project.
setType(FlatType) - Method in class FlatInfo
Sets the type of flat.
setVisibility(boolean) - Method in class BTOProject
Set the visibility of the project.
setWithdrawalStatus(WithdrawalStatus) - Method in class Application
Set the withdrawal status.
SINGLE - Enum constant in enum class MaritalStatus
 
SOLID - Enum constant in enum class Bar.Type
Solid Bar Design
sourceFileType() - Method in class Applicant
 
sourceFileType() - Method in class Application
 
sourceFileType() - Method in class BTOProject
Get the type of the source file for the BTO project.
sourceFileType() - Method in interface CSVEncodable
Override this to provide which file type the encodable class should be represented as.
sourceFileType() - Method in class Enquiry
 
sourceFileType() - Method in class FlatInfo
Returns the type of the source file for this object.
sourceFileType() - Method in class HDBManager
 
sourceFileType() - Method in class HDBOfficer
 
sourceFileType() - Method in class Message
 
startResponseLoop() - Static method in class BTOManagementApplication
Once called, this method will always ask the user to do something, again and again, unless requested by the user to exit or logout.
status - Variable in class Application
The status of this application.
strikethrough() - Method in class Style.Builder
Apply a strikethrough effect to the current text.
STRIKETHROUGH - Enum constant in enum class Style.Code
 
Style - Class in sc2002.FCS1.grp2.builders
Build text that is styled with colour and attributes like bold, italic, etc.
Style() - Constructor for class Style
 
Style.Builder - Class in sc2002.FCS1.grp2.builders
The fancy formatted text builder.
Style.Code - Enum Class in sc2002.FCS1.grp2.builders
Default ANSI Codes I will not write documentation for each case, as it's pretty self-explanatory based on the enum name.
SUCCESSFUL - Enum constant in enum class ApplicationStatus
This status occurs when an authorised personnel has approved the application; awaiting booking.
SuperScanner - Class in sc2002.FCS1.grp2.helpers
An extension of features for the Scanner class.
SuperScanner(Scanner) - Constructor for class SuperScanner
Construct a SuperScanner to use convenient user input abilities
system - Static variable in class ApplicantActions
 
system - Static variable in class BTOManagementApplication
System object, for easy access.
system - Static variable in class HDBManagerActions
 
system - Static variable in class HDBOfficerActions
 

T

TableColumnOption(int, int, String) - Constructor for enum class BTOProject.TableColumnOption
 
TableColumnOption(int, String) - Constructor for enum class BTOProject.TableColumnOption
 
terminator - Static variable in class Style.Builder
The code to be used to terminate the ESC code.
text(String) - Method in class Style.Builder
Add a text.
TEXT_BLACK - Enum constant in enum class Style.Code
 
TEXT_BLUE - Enum constant in enum class Style.Code
 
TEXT_CYAN - Enum constant in enum class Style.Code
 
TEXT_GREEN - Enum constant in enum class Style.Code
 
TEXT_MAGENTA - Enum constant in enum class Style.Code
 
TEXT_RED - Enum constant in enum class Style.Code
 
TEXT_WHITE - Enum constant in enum class Style.Code
 
TEXT_YELLOW - Enum constant in enum class Style.Code
 
THREE_ROOM - Enum constant in enum class FlatType
Represents a 3-Room flat type.
THREE_ROOM - Enum constant in enum class ListingFilter
 
THREE_ROOM_PRICE_ASCENDING - Enum constant in enum class ListingSort
 
THREE_ROOM_PRICE_DESCENDING - Enum constant in enum class ListingSort
 
timestamp - Variable in class Message
The time of which this message was constructed or last updated.
title - Variable in enum class BTOProject.TableColumnOption
 
title - Variable in class DisplayMenu.Builder
Title of the rectangle box, centered on top.
title - Variable in class DisplayMenu
Title of the rectangle box, centered on top.
title - Variable in enum class ListingSort
 
toggleVisibility() - Method in class BTOProject
Toggle the visibility of the project.
toString() - Method in class Application
 
toString() - Method in enum class ApplicationStatus
 
toString() - Method in class BTOProject
Get the string representation of the BTO project.
toString() - Method in class Bar.Builder
Retrieve all formatted content as a string.
toString() - Method in enum class Bar.Type
 
toString() - Method in class Style.Builder
Export the formatted content as a string.
toString() - Method in enum class FlatType
Get the string representation of the FlatType.
toString() - Method in enum class ListingFilter
 
toString() - Method in enum class ListingSort
 
toString() - Method in enum class MaritalStatus
 
toString() - Method in enum class ReportType
 
toString() - Method in class User
 
toString() - Method in enum class WithdrawalStatus
 
totalOfficerSlots - Variable in class BTOProject
slots of project, for project.
toValues() - Method in class Bar.Builder
Retrieve all formatted bar and details strings as a list.
TWO_ROOM - Enum constant in enum class FlatType
Represents a 2-Room flat type.
TWO_ROOM - Enum constant in enum class ListingFilter
 
TWO_ROOM_PRICE_ASCENDING - Enum constant in enum class ListingSort
 
TWO_ROOM_PRICE_DESCENDING - Enum constant in enum class ListingSort
 
type - Variable in class FlatInfo
Enum representing the type of flat.
Type(String) - Constructor for enum class Bar.Type
Construct this enum value.

U

underline() - Method in class Style.Builder
Underline the current text.
UNDERLINE - Enum constant in enum class Style.Code
 
UNSUCCESSFUL - Enum constant in enum class ApplicationStatus
This status occurs when an authorised personnel decides this application shall be unsuccessful, such as when there are no slots left, over booking.
updateContent(String) - Method in class Message
Call this to update/edit the message.
updateEnquiry() - Method in class BTOManagementSystem
 
updateEnquiry() - Method in interface EnquiriesDelegate
Update an enquiry of system.
updateEnquiry(Enquiry, String) - Method in class EnquiriesSystem
Update the enquiry.
updateState() - Method in class EnquiriesSystem
Always call this after a list mutative action.
user - Variable in class Message
User involved in this message.
User - Class in sc2002.FCS1.grp2
This class forms as the base of all user types.
User(List<CSVCell>) - Constructor for class User
Constructor that is intended for use by (@code CSVParser} class only.
Utilities - Class in sc2002.FCS1.grp2.helpers
Singleton class that handles certain common utility features such as date parsing.
Utilities() - Constructor for class Utilities
Constructor that should not be used outside this class.

V

value - Variable in enum class ApplicationStatus
 
value - Variable in class CSVCell
Value of each CSV spreadsheet cell, unmodified.
value - Variable in enum class FlatType
 
value - Variable in enum class MaritalStatus
 
value - Variable in enum class WithdrawalStatus
User readable name thats also used for csv encode/decode.
valueOf(String) - Static method in enum class Applicant.Menu
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class ApplicationStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class BTOProject.TableColumnOption
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Bar.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Style.Code
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class CSVFileTypes
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class FlatType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class HDBManager.Menu
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class HDBOfficer.Menu
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class ListingFilter
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class ListingSort
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class MaritalStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class ReportType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class WithdrawalStatus
Returns the enum constant of this class with the specified name.
values - Variable in class Bar.Builder
Built values of bars chart
values() - Static method in enum class Applicant.Menu
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class ApplicationStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class BTOProject.TableColumnOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Bar.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Style.Code
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class CSVFileTypes
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class FlatType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class HDBManager.Menu
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class HDBOfficer.Menu
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class ListingFilter
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class ListingSort
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class MaritalStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class ReportType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class WithdrawalStatus
Returns an array containing the constants of this enum class, in the order they are declared.
valueSpacing - Variable in enum class BTOProject.TableColumnOption
 
VIEW_ALL_PROJECTS - Enum constant in enum class HDBManager.Menu
 
VIEW_APPLICATIONS - Enum constant in enum class Applicant.Menu
 
VIEW_CREATED_PROJECTS - Enum constant in enum class HDBManager.Menu
 
VIEW_ENQUIRIES - Enum constant in enum class Applicant.Menu
 
VIEW_MY_APPLICATION - Enum constant in enum class HDBOfficer.Menu
 
VIEW_PENDING_OFFICER_REQUESTS - Enum constant in enum class HDBManager.Menu
 
VIEW_PROJECTS - Enum constant in enum class Applicant.Menu
 
VIEW_PROJECTS - Enum constant in enum class HDBOfficer.Menu
 
viewAllProjects(HDBManager) - Static method in class HDBManagerActions
View all projects in the system.
viewApplication(Applicant) - Static method in class ApplicantActions
Action flow for an applicant to view BTO applications applied.
viewCreatedProjects(HDBManager) - Static method in class HDBManagerActions
View all projects created by the manager.
viewPendingOfficerRequests(HDBManager) - Static method in class HDBManagerActions
View pending officer requests for a project and review.
viewProjects(Applicant) - Static method in class ApplicantActions
Method for user to view all the available projects for user to apply, filtered based on the user's age and marital status.
viewProjects(HDBOfficer) - Static method in class HDBOfficerActions
Method to view available projects for HDB Officer as an applicant to join
visibility - Variable in class BTOProject
whether this is pubically visible
VISIBILITY - Enum constant in enum class BTOProject.TableColumnOption
 

W

withdraw() - Method in class Application
Withdraw this application.
WITHDRAW_APPLICATION - Enum constant in enum class Applicant.Menu
 
WITHDRAW_APPLICATION - Enum constant in enum class HDBOfficer.Menu
 
withdrawalApplicationFlow(Applicant) - Static method in class ApplicantActions
The flow for withdrawing of application
withdrawalStatus - Variable in class Application
Whether if this application shall be invalidated due to withdrawal.
WithdrawalStatus - Enum Class in sc2002.FCS1.grp2
Status for application withdrawal.
WithdrawalStatus(String) - Constructor for enum class WithdrawalStatus
Internal constructor for enum
WITHDRAWN - Enum constant in enum class WithdrawalStatus
Withdrawal is requested by authority.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values