public class User extends Base
Modifier and Type | Field and Description |
---|---|
protected String |
company |
protected String |
email |
protected String |
firstName |
protected String |
internalIdentifier |
protected String |
lastName |
protected boolean |
notifyFlag |
protected String |
password |
protected String |
userId |
protected UserType |
userType |
serialVersionUID
Constructor and Description |
---|
User()
Default Constructor
|
User(User object)
Constructor with a User.
|
Modifier and Type | Method and Description |
---|---|
void |
copy(User object)
Performs a deep copy.
|
boolean |
equals(Object object)
Comparison method to determine if the provided object is equivalent to this instance.
|
String |
generateInternalIdentifier()
Helper to generate the internal identifier
|
String |
getCompany()
Returns the company field.
|
String |
getEmail()
Returns the email field.
|
String |
getFirstName()
Returns the firstName field.
|
String |
getFullName()
construct full name from first and last
|
String |
getInternalIdentifier()
Returns the internalIdentifier field.
|
String |
getLastName()
Returns the lastName field.
|
boolean |
getNotifyFlag()
Returns the notifyFlag field.
|
String |
getObjectType()
Returns the type of the object
|
String |
getPassword()
Returns the password field.
|
String |
getUserId()
Returns the userId field.
|
UserType |
getUserType()
Returns the userType field.
|
int |
hashCode() |
boolean |
hasValidPaymentInfo()
Helper method used to determine if the user has valid payment info in place.
|
void |
setCompany(String company)
Assigns the company field with the provided argument.
|
void |
setEmail(String email)
Assigns the email field with the provided argument.
|
void |
setFirstName(String name)
Assigns the name field with the provided argument.
|
void |
setInternalIdentifier(String internalIdentifier)
Assigns the internalIdentifier field with the provided argument.
|
void |
setLastName(String name)
Assigns the lastName field with the provided argument.
|
void |
setNotifyFlag(boolean notifyFlag)
Assigns the notifyFlag with the provided argument.
|
void |
setPassword(String password)
Assigns the password field with the provided argument.
|
void |
setUserId(String userId)
Assigns the userId field with the provided argument.
|
void |
setUserType(UserType userType)
Assigns the userType with the provided argument.
|
void |
shallowCopy(User object)
Performs a shallow copy.
|
String |
toString()
Returns a string representation of the intrinsic attributes.
|
getId, getIdentity, setId
logDebugMessage, logErrorMessage, logInfoMessage, logMessage, logWarnMessage
protected String firstName
protected String lastName
protected String email
protected String company
protected String userId
protected String password
protected String internalIdentifier
protected boolean notifyFlag
protected UserType userType
public User()
public User(User object)
object
- source to seed frompublic String getFirstName()
public void setFirstName(String name)
name
- first namepublic String getLastName()
public void setLastName(String name)
name
- last namepublic String getFullName()
public String getEmail()
public void setEmail(String email)
email
- E-mailpublic String getCompany()
public void setCompany(String company)
company
- namepublic String getUserId()
public void setUserId(String userId)
userId
- user identifierpublic String getPassword()
public void setPassword(String password)
password
- password to login to Harbormasterpublic UserType getUserType()
public void setUserType(UserType userType)
userType
- UserType enumeratorpublic boolean getNotifyFlag()
public void setNotifyFlag(boolean notifyFlag)
notifyFlag
- notification indicationpublic String getInternalIdentifier()
public void setInternalIdentifier(String internalIdentifier)
internalIdentifier
- internal identifierpublic void shallowCopy(User object)
object
- source to copy frompublic void copy(User object)
object
- source to copy frompublic boolean hasValidPaymentInfo()
public String toString()
public String getObjectType()
getObjectType
in class Base
public boolean equals(Object object)
Base
public String generateInternalIdentifier()
Copyright © 2021. All rights reserved.