Class VCard.Name

  • Enclosing class:
    VCard

    public static final class VCard.Name
    extends Object
    Represents a name.
    • Constructor Detail

      • Name

        public Name​(String familyName,
                    String givenName,
                    String middleName)
        Creates name.
        Parameters:
        familyName - The family name.
        givenName - The given name.
        middleName - The middle name.
      • Name

        public Name​(String familyName,
                    String givenName,
                    String middleName,
                    String prefix,
                    String suffix)
        Creates a full name.
        Parameters:
        familyName - The family name.
        givenName - The given name.
        middleName - The middle name.
        prefix - The prefix.
        suffix - The suffix.
    • Method Detail

      • getFamilyName

        public String getFamilyName()
        Gets the family name.
        Returns:
        The family name.
      • getGivenName

        public String getGivenName()
        Gets the given name.
        Returns:
        The given name.
      • getMiddleName

        public String getMiddleName()
        Gets the middle name.
        Returns:
        The middle name.
      • getPrefix

        public String getPrefix()
        Gets the prefix.
        Returns:
        The prefix.
      • getSuffix

        public String getSuffix()
        Gets the suffix.
        Returns:
        The suffix.