Class CmsSharedSettingKey
- java.lang.Object
-
- org.opencms.ade.configuration.formatters.CmsSharedSettingKey
-
public class CmsSharedSettingKey extends java.lang.Object
A pair consisting of the include name of a setting definition and the formatter key (possibly null) for which the setting should be used, for use as a map key in a map of setting definitions.Shared settings can either be defined generally, or just for a specific list of formatter keys in a setting definition file. In the first case, this corresponds to a single map key with the formatter key set to null, in the second case to a set of map keys with the same include name but different formatter keys pointing to the same setting definition data.
-
-
Constructor Summary
Constructors Constructor Description CmsSharedSettingKey(java.lang.String name, java.lang.String formatterKey)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CmsSharedSettingKey
public CmsSharedSettingKey(java.lang.String name, java.lang.String formatterKey)
Creates a new instance.- Parameters:
name
- the include name of the setting definitionformatterKey
- the formatter key (may be null)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-