Class VCard

    • Constructor Detail

      • VCard

        public VCard()
    • Method Detail

      • getFormattedName

        public String getFormattedName()
        Gets the formatted text corresponding to the name.
        Returns:
        The formatted name.
        See Also:
        setFormattedName(String)
      • setFormattedName

        public void setFormattedName​(String formattedName)
        Sets the formatted name.
        Parameters:
        formattedName - The formatted name.
        See Also:
        getFormattedName()
      • setName

        public void setName​(VCard.Name name)
        Sets the name.
        Parameters:
        name - The name.
        See Also:
        getName()
      • setNickname

        public void setNickname​(String nickname)
        Sets the nickname.
        Parameters:
        nickname - The nickname.
        See Also:
        getNickname()
      • setPhoto

        public void setPhoto​(VCard.Image photo)
        Sets the photo.
        Parameters:
        photo - The photo.
        See Also:
        getPhoto()
      • setBirthday

        public void setBirthday​(LocalDate birthday)
        Sets the birthday.
        Parameters:
        birthday - The birthday.
        See Also:
        getBirthday()
      • getUrl

        public URL getUrl()
        Gets an URL associated with the object that the vCard refers to.
        Returns:
        The URL.
        See Also:
        setUrl(java.net.URL)
      • setUrl

        public void setUrl​(URL url)
        Sets an URL.
        Parameters:
        url - The URL.
        See Also:
        getUrl()
      • setOrganization

        public void setOrganization​(VCard.Organization organization)
        Sets the organization.
        Parameters:
        organization - The organization.
        See Also:
        getOrganization()
      • getAddresses

        public List<VCard.Address> getAddresses()
        Gets the addresses.
        Returns:
        The addresses.
      • getTelephoneNumbers

        public List<VCard.TelephoneNumber> getTelephoneNumbers()
        Gets the telephone numbers.
        Returns:
        The telephone numbers.
      • getEmails

        public List<VCard.Email> getEmails()
        Gets the email addresses.
        Returns:
        The email addresses.
      • setJid

        public void setJid​(Jid jid)
        Sets the JID.
        Parameters:
        jid - The JID.
        See Also:
        getJid()
      • getMailer

        public String getMailer()
        Gets the type of electronic mail software that is used by the individual associated with the vCard.
        Returns:
        The mailer.
        See Also:
        setMailer(String)
      • setMailer

        public void setMailer​(String mailer)
        Sets the mailer.
        Parameters:
        mailer - The mailer.
        See Also:
        getMailer()
      • setTimeZone

        public void setTimeZone​(String timezone)
        Sets the time zone.
        Parameters:
        timezone - The time zone.
        See Also:
        getTimeZone()
      • getGeo

        public VCard.Geo getGeo()
        Gets information related to the global positioning of the object the vCard represents.
        Returns:
        The geo location.
        See Also:
        setGeo(VCard.Geo)
      • setGeo

        public void setGeo​(VCard.Geo geo)
        Sets the geo location.
        Parameters:
        geo - The geo location.
        See Also:
        getGeo()
      • getTitle

        public String getTitle()
        Gets the job title, functional position or function of the object the vCard represents.
        Returns:
        The title.
        See Also:
        setTitle(String)
      • setTitle

        public void setTitle​(String title)
        Sets the title.
        Parameters:
        title - The title.
        See Also:
        getTitle()
      • getRole

        public String getRole()
        Gets information concerning the role, occupation, or business category of the object the vCard represents.
        Returns:
        The role.
        See Also:
        setRole(String)
      • setRole

        public void setRole​(String role)
        Sets the role.
        Parameters:
        role - The role.
        See Also:
        getRole()
      • getAgent

        public String getAgent()
        Gets information about another person who will act on behalf of the individual or resource associated with the vCard.
        Returns:
        The agent.
        See Also:
        setAgent(String)
      • setAgent

        public void setAgent​(String agent)
        Sets the agent.
        Parameters:
        agent - The agent.
        See Also:
        getAgent()
      • setLogo

        public void setLogo​(VCard.Image logo)
        Sets the logo.
        Parameters:
        logo - The logo.
        See Also:
        getLogo()
      • getCategories

        public List<String> getCategories()
        Gets application category information about the vCard.
        Returns:
        The categories.
      • getNote

        public String getNote()
        Gets supplemental information or a comment that is associated with the vCard.
        Returns:
        The note.
        See Also:
        setNote(String)
      • setNote

        public void setNote​(String note)
        Sets a note.
        Parameters:
        note - The note.
        See Also:
        getNote()
      • getProductId

        public String getProductId()
        Gets the identifier for the product that created the vCard object.
        Returns:
        The product id.
        See Also:
        setProductId(String)
      • setProductId

        public void setProductId​(String productId)
        Sets the product id.
        Parameters:
        productId - The product id.
        See Also:
        getProductId()
      • getRevision

        public Instant getRevision()
        Gets revision information about the current vCard.
        Returns:
        The revision.
        See Also:
        setRevision(Instant)
      • setRevision

        public void setRevision​(Instant revision)
        Sets revision information.
        Parameters:
        revision - The revision information.
        See Also:
        getRevision()
      • getSortString

        public String getSortString()
        Gets the sort string, specifying the family name or given name text to be used for national-language-specific sorting of the FN and N types.
        Returns:
        The sort string.
        See Also:
        setSortString(String)
      • setSortString

        public void setSortString​(String sortString)
        Sets the sort string.
        Parameters:
        sortString - The sort string.
        See Also:
        getSortString()
      • getSound

        public String getSound()
        Gets the sound, zo specify a digital sound content information that annotates some aspect of the vCard. By default this type is used to specify the proper pronunciation of the name type value of the vCard.
        Returns:
        The sound, either as pronunciation string, as URL or as base64 encoded binary.
        See Also:
        setSound(String)
      • setSound

        public void setSound​(String sound)
        Sets the sound.
        Parameters:
        sound - The sound.
        See Also:
        getSound()
      • getUid

        public String getUid()
        Gets the UID, to specify a value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard.
        Returns:
        The UID.
        See Also:
        setUid(String)
      • setUid

        public void setUid​(String uid)
        Sets the UID.
        Parameters:
        uid - The UID.
        See Also:
        getUid()
      • getKey

        public VCard.Key getKey()
        Gets the authentication credential or encryption key.
        Returns:
        The key.
        See Also:
        setKey(VCard.Key)
      • setKey

        public void setKey​(VCard.Key key)
        Sets the authentication credential or encryption key.
        Parameters:
        key - The key.
        See Also:
        getKey()
      • getDesc

        public String getDesc()
        Gets free-form descriptive text.
        Returns:
        The descriptive text.
        See Also:
        setDesc(String)
      • setDesc

        public void setDesc​(String desc)
        Sets free-form descriptive text.
        Parameters:
        desc - The descriptive text.
        See Also:
        getDesc()