Package src.model.user
Class CompanyRepresentative
java.lang.Object
src.model.User
src.model.user.CompanyRepresentative
CompanyRepresentative Class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompanyRepresentative(String userID, String name, String passwordHash, String company) Constructs a CompanyRepresentative with the required attributes -
Method Summary
Methods inherited from class src.model.User
getName, getPasswordHash, getUserID, setName, setPasswordHash, setUserID
-
Field Details
-
company
-
status
-
-
Constructor Details
-
CompanyRepresentative
Constructs a CompanyRepresentative with the required attributes- Parameters:
userID- the company email address of the company representativename- thenameof the company representativepasswordHash- thepasswordHashof the company representativecompany- thecompanyof the company representative
-
-
Method Details
-
getCompany
Getter forcompany- Returns:
company
-
setCompany
Setter forcompany- Parameters:
company- thecompanyto set
-
getStatus
Getter forstatus- Returns:
status
-
setStatus
Setter forstatus- Parameters:
status- thestatusto set
-
equals
-
hashCode
public int hashCode()
-