Package io.jans.scim.model.scim2.user
Class Name
- java.lang.Object
-
- io.jans.scim.model.scim2.user.Name
-
public class Name extends Object
A class that represents the components of a user's name. See section 4.1.1 of RFC 7643.
-
-
Constructor Summary
Constructors Constructor Description Name()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
computeFormattedName()
From this Name instance, it builds a string depicting a full name including all middle names, titles, and suffixes as appropriate for display if theformatted
field of this object is null or emptyString
getFamilyName()
String
getFormatted()
String
getGivenName()
String
getHonorificPrefix()
String
getHonorificSuffix()
String
getMiddleName()
void
setFamilyName(String familyName)
void
setFormatted(String formatted)
void
setGivenName(String givenName)
void
setHonorificPrefix(String honorificPrefix)
void
setHonorificSuffix(String honorificSuffix)
void
setMiddleName(String middleName)
-
-
-
Method Detail
-
computeFormattedName
public String computeFormattedName()
From this Name instance, it builds a string depicting a full name including all middle names, titles, and suffixes as appropriate for display if theformatted
field of this object is null or empty- Returns:
- A string representing a full name. The formatted field will be set to this value
-
getFormatted
public String getFormatted()
-
setFormatted
public void setFormatted(String formatted)
-
getFamilyName
public String getFamilyName()
-
setFamilyName
public void setFamilyName(String familyName)
-
getGivenName
public String getGivenName()
-
setGivenName
public void setGivenName(String givenName)
-
getMiddleName
public String getMiddleName()
-
setMiddleName
public void setMiddleName(String middleName)
-
getHonorificPrefix
public String getHonorificPrefix()
-
setHonorificPrefix
public void setHonorificPrefix(String honorificPrefix)
-
getHonorificSuffix
public String getHonorificSuffix()
-
setHonorificSuffix
public void setHonorificSuffix(String honorificSuffix)
-
-