Class AbstractI18NMetadata

    • Constructor Detail

      • AbstractI18NMetadata

        public AbstractI18NMetadata​(String id,
                                    MultilingualString name,
                                    MultilingualString description)
        constructor
        Parameters:
        id - The identifier of this object
        name - The multilingual name of this object
        description - the multilingual description of this object
      • AbstractI18NMetadata

        public AbstractI18NMetadata​(String id)
        constructor
        Parameters:
        id - The identifier of this object
    • Method Detail

      • getIdentifier

        public String getIdentifier()
        The the identifier of this object
        Returns:
        The object identifier
      • getName

        public MultilingualString getName()
        Returns:
        the multilingual name of this object
      • getDescription

        public MultilingualString getDescription()
        Returns:
        the multilingual description of this object
      • toStringHelper

        protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()
        Returns:
        a MoreObjects.ToStringHelper filled with the state of this class
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLocales

        public Set<Locale> getLocales()
        Returns:
        a unmodifiable set of all Locales present in this object.