Class Profile
- java.lang.Object
-
- aero.panasonic.inflight.services.user.v2.Sync
-
- aero.panasonic.inflight.services.user.v2.profile.Profile
-
public class Profile extends Sync
Package Starting Point - Profile is responsible for holding and persisting user profile information.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class aero.panasonic.inflight.services.user.v2.Sync
Sync.SyncListener
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFirstName()Gets the first name of the user.java.lang.StringgetGender()Gets the gender types, such as female, male or unknownjava.lang.StringgetLastName()Gets the last name of the user.java.lang.StringgetMiddleName()Gets the middle name of the user.java.lang.StringgetPrefix()Gets the prefix of the user, such as Mr, Mrs or Msjava.lang.StringgetSuffix()Gets the suffix of the user, such as III, Sr or MDvoidsetFirstName(java.lang.String firstName)Sets the first name of the user.voidsetGender(java.lang.String gender)Sets the gender types, such as female, male or unknownvoidsetLastName(java.lang.String lastName)Sets the last name of the user.voidsetMiddleName(java.lang.String middleName)Sets the middle name of the user.voidsetPrefix(java.lang.String prefix)Sets the prefix of the user, such as Mr, Mrs or MsvoidsetSuffix(java.lang.String suffix)Sets the suffix of the user, such as III, Sr or MD-
Methods inherited from class aero.panasonic.inflight.services.user.v2.Sync
getConflicts, setConflictStrategy, setSyncListener, synchronize
-
-
-
-
Method Detail
-
getFirstName
public java.lang.String getFirstName()
Gets the first name of the user.- Returns:
- java.lang.String
-
setFirstName
public void setFirstName(java.lang.String firstName)
Sets the first name of the user.- Parameters:
firstName- java.lang.String the firstName to set
-
getLastName
public java.lang.String getLastName()
Gets the last name of the user.- Returns:
- java.lang.String
-
setLastName
public void setLastName(java.lang.String lastName)
Sets the last name of the user.- Parameters:
lastName- java.lang.String the LastName to set
-
getMiddleName
public java.lang.String getMiddleName()
Gets the middle name of the user.- Returns:
- java.lang.String
-
setMiddleName
public void setMiddleName(java.lang.String middleName)
Sets the middle name of the user.- Parameters:
middleName- java.lang.String the middleName to set
-
getSuffix
public java.lang.String getSuffix()
Gets the suffix of the user, such as III, Sr or MD- Returns:
- java.lang.String
-
setSuffix
public void setSuffix(java.lang.String suffix)
Sets the suffix of the user, such as III, Sr or MD- Parameters:
suffix- java.lang.String the suffix to set
-
getPrefix
public java.lang.String getPrefix()
Gets the prefix of the user, such as Mr, Mrs or Ms- Returns:
- java.lang.String
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets the prefix of the user, such as Mr, Mrs or Ms- Parameters:
prefix- java.lang.String the prefix to set
-
getGender
public java.lang.String getGender()
Gets the gender types, such as female, male or unknown- Returns:
- java.lang.String
-
setGender
public void setGender(java.lang.String gender)
Sets the gender types, such as female, male or unknown- Parameters:
gender- java.lang.String the gender to set
-
-