Skip to content
A Programmer edited this page Feb 13, 2024 · 1 revision

Claims Class

This class is designed to act as the claims information retention, with each feature changing the system's values.

Author: Joshua Zuker (Multiple others have fixed)

Class Attributes:

claimID: An integer representing the claim's ID.

clientID: An integer representing the client's ID associated with the claim.

advisorID: An integer representing the advisor's ID associated with the claim.

policyID: An integer representing the policy's ID associated with the claim.

claimStatus: A string representing the status of the claim.

dateFilled: A string representing the date when the claim was filled.

accidentTime: A string representing the time of the accident.

damage: A string representing the type of damage.

description: A string describing the claim.

payInfo: A string containing payment information.

closureCond: A string representing the conditions under which the claim was closed.

atFault: A boolean indicating whether the client is at fault.

totalled: A boolean indicating whether the vehicle is totalled.

closed: A boolean indicating whether the claim is closed.

Constructors:

public Claims(): Default constructor for general technical operations.

public Claims(int claimID, int clientID, int advisorID, int policyID, String claimStatus, String dateFilled, String accidentTime, String damage, String description, String payInfo, String closureCond, boolean atFault, boolean totalled, boolean closed): Constructor for creating a claim with specified values.

Getter and Setter Methods and etc:

getClaimID() - Gets Claim ID

setClaimID() - Sets Claim ID

getClientID() - Gets Client ID

setClientID() - Sets Client ID

isAtFault() - boolean setter for is at fault

isTotalled() - Gets if its Totalled

isClosed() - checks if its closed

Clone this wiki locally