Class JaloPropertyContainerAdapter

    • Constructor Detail

      • JaloPropertyContainerAdapter

        public JaloPropertyContainerAdapter​(JaloSession jaloSession)
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
        Description copied from interface: JaloPropertyContainer
        sets a property
        Specified by:
        setProperty in interface JaloPropertyContainer
        value - may be null to remove a property
      • setLocalizedProperty

        public void setLocalizedProperty​(java.lang.String name,
                                         java.lang.Object value)
        Description copied from interface: JaloPropertyContainer
        sets an external localized property, using the default session context to determine the property's language
        Specified by:
        setLocalizedProperty in interface JaloPropertyContainer
      • setAllLocalizedProperties

        public void setAllLocalizedProperties​(java.lang.String name,
                                              java.util.Map<Language,​java.lang.Object> values)
        Description copied from interface: JaloPropertyContainer
        Allows to set all values of a localized property at once.
        Specified by:
        setAllLocalizedProperties in interface JaloPropertyContainer
        Parameters:
        name - the property name
        values - all values as map
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()