java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
de.captaingoldfish.scim.sdk.common.resources.complex.Name
All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

public class Name extends ScimObjectNode
author Pascal Knueppel
created at: 11.10.2019 - 10:19

The components of the user's name. Service providers MAY return just the full name as a single string in the formatted sub-attribute, or they MAY return just the individual component attributes using the other sub-attributes, or they MAY return both. If both variants are returned, they SHOULD be describing the same name, with the formatted name indicating how the component attributes should be combined.
See Also:
  • Constructor Details

  • Method Details

    • getFormatted

      public Optional<String> getFormatted()
      The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g., "Ms. Barbara Jane Jensen, III").
    • setFormatted

      public void setFormatted(String formatted)
      The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g., "Ms. Barbara Jane Jensen, III").
    • getFamilyName

      public Optional<String> getFamilyName()
      The family name of the User, or last name in most Western languages (e.g., "Jensen" given the full name "Ms. Barbara Jane Jensen, III").
    • setFamilyName

      public void setFamilyName(String familyName)
      The family name of the User, or last name in most Western languages (e.g., "Jensen" given the full name "Ms. Barbara Jane Jensen, III").
    • getGivenName

      public Optional<String> getGivenName()
      The given name of the User, or first name in most Western languages (e.g., "Barbara" given the full name "Ms. Barbara Jane Jensen, III").
    • setGivenName

      public void setGivenName(String givenName)
      The given name of the User, or first name in most Western languages (e.g., "Barbara" given the full name "Ms. Barbara Jane Jensen, III").
    • getMiddleName

      public Optional<String> getMiddleName()
      The middle name(s) of the User (e.g., "Jane" given the full name "Ms. Barbara Jane Jensen, III").
    • setMiddleName

      public void setMiddleName(String middleName)
      The middle name(s) of the User (e.g., "Jane" given the full name "Ms. Barbara Jane Jensen, III").
    • getHonorificPrefix

      public Optional<String> getHonorificPrefix()
      The honorific prefix(es) of the User, or title in most Western languages (e.g., "Ms." given the full name "Ms. Barbara Jane Jensen, III").
    • setHonorificPrefix

      public void setHonorificPrefix(String honorificPrefix)
      The honorific prefix(es) of the User, or title in most Western languages (e.g., "Ms." given the full name "Ms. Barbara Jane Jensen, III").
    • getHonorificSuffix

      public Optional<String> getHonorificSuffix()
      The honorific suffix(es) of the User, or suffix in most Western languages (e.g., "III" given the full name "Ms. Barbara Jane Jensen, III").
    • setHonorificSuffix

      public void setHonorificSuffix(String honorificSuffix)
      The honorific suffix(es) of the User, or suffix in most Western languages (e.g., "III" given the full name "Ms. Barbara Jane Jensen, III").
    • builder

      public static Name.NameBuilder builder()