Interface ContactInformation


public interface ContactInformation
Represents a contact information.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static ContactInformation EMPTY
    An empty contact information.
  • Method Summary

    Modifier and Type Method Description
    Map<String,​String> asMap()
    Gets all contact information provided as a map from contact type to information.
    Optional<String> get​(String key)
    Gets a certain type of contact information.
  • Field Details

  • Method Details

    • get

      Optional<String> get​(String key)
      Gets a certain type of contact information.
      Parameters:
      key - the type of contact information
      Returns:
      an optional contact information
    • asMap

      Map<String,​String> asMap()
      Gets all contact information provided as a map from contact type to information.