Class CmsDecorationMap

  • All Implemented Interfaces:
    java.lang.Comparable<CmsDecorationMap>

    public class CmsDecorationMap
    extends java.lang.Object
    implements java.lang.Comparable<CmsDecorationMap>
    The CmsDecorationMap is the object representation of a single decoartion file.

    The semicolon seperated elements of the decoartion file are stored in a map.

    The map uses the decoration as keys and CmsDecorationObjects as values.

    Multiple CmsDecorationMaps form a CmsDecorationBundle.

    Since:
    6.1.3
    • Constructor Detail

      • CmsDecorationMap

        public CmsDecorationMap​(CmsDecorationDefintion decDef,
                                java.lang.String name,
                                java.util.Locale locale)
        Constructor, creates a new, empty CmsDecorationMap.

        Parameters:
        decDef - the CmsDecorationDefintion to be used in this decoration map
        name - The name of the decoration map
        locale - the locale for this decoration map
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • getLocale

        public java.util.Locale getLocale()
        Returns the locale.

        Returns:
        the locale
      • getName

        public java.lang.String getName()
        Returns the name.

        Returns:
        the name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • setDecorationMap

        public void setDecorationMap​(java.util.Map<java.lang.String,​CmsDecorationObject> decorationMap)
        Sets the decorationMap.

        Parameters:
        decorationMap - the decorationMap to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()