Class TextConfigDescriptionEntry
- java.lang.Object
-
- org.pentaho.reporting.tools.configeditor.model.ConfigDescriptionEntry
-
- org.pentaho.reporting.tools.configeditor.model.TextConfigDescriptionEntry
-
public class TextConfigDescriptionEntry extends ConfigDescriptionEntry
The text config description entry represents an configuration key, where users may enter free-form text.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description TextConfigDescriptionEntry(String keyName)
Creates a new text description entry for the given configuration key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Checks whether the given object is equal to this config description entry.int
hashCode()
Computes an hashcode for this object.-
Methods inherited from class org.pentaho.reporting.tools.configeditor.model.ConfigDescriptionEntry
getDescription, getKeyName, isGlobal, isHidden, setDescription, setGlobal, setHidden
-
-
-
-
Constructor Detail
-
TextConfigDescriptionEntry
public TextConfigDescriptionEntry(String keyName)
Creates a new text description entry for the given configuration key.- Parameters:
keyName
- the keyname of this entry.
-
-
Method Detail
-
equals
public boolean equals(Object o)
Description copied from class:ConfigDescriptionEntry
Checks whether the given object is equal to this config description entry. The object will be equal, if it is also an config description entry with the same name as this entry.- Overrides:
equals
in classConfigDescriptionEntry
- Parameters:
o
- the other object.- Returns:
- true, if the config entry is equal to the given object, false otherwise.
- See Also:
Object.equals(Object)
-
hashCode
public int hashCode()
Description copied from class:ConfigDescriptionEntry
Computes an hashcode for this object.- Overrides:
hashCode
in classConfigDescriptionEntry
- Returns:
- the hashcode.
- See Also:
Object.hashCode()
-
-