Class OrganizationUIInfo


  • public class OrganizationUIInfo
    extends Object
    Class to contain a processed form of the Organization suitable for display purposes.
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
        logger.
      • organizationNames

        @Nonnull
        @Unmodifiable
        private final Map<Locale,​String> organizationNames
        The Organization Names as a map from locale to actual value.
      • displayNames

        @Nonnull
        @Unmodifiable
        private final Map<Locale,​String> displayNames
        The Organization Display Names as a map from locale to actual value.
      • nullLanguageString

        private final Predicate<LocalizedName> nullLanguageString
        Warning check against a non localized String.
      • nullLanguageURL

        private final Predicate<LocalizedURI> nullLanguageURL
        Warning check against a non localized URL.
    • Constructor Detail

      • OrganizationUIInfo

        public OrganizationUIInfo​(@Nonnull
                                  Organization organization)
        Constructor.
        Parameters:
        organization - The OpenSaml Organization to convert.
    • Method Detail

      • getOrganizationNames

        @Nonnull
        @Unmodifiable
        public Map<Locale,​String> getOrganizationNames()
        Get the Organization Names as a map from locale to actual value.
        Returns:
        the display names
      • getOrganizationDisplayNames

        @Nonnull
        @Unmodifiable
        public Map<Locale,​String> getOrganizationDisplayNames()
        Return the Organization Display Names as a map from locale to actual value.
        Returns:
        the descriptions names (if any)
      • getOrganizationUrls

        @Nonnull
        @Unmodifiable
        public Map<Locale,​String> getOrganizationUrls()
        Return the Organization URLs as a map from locale to actual value.
        Returns:
        the descriptions names (if any)