Package org.opencms.ui.apps.filehistory
Class CmsFileHistorySettings.ComboBoxVersionsBean
- java.lang.Object
-
- org.opencms.ui.apps.filehistory.CmsFileHistorySettings.ComboBoxVersionsBean
-
- Enclosing class:
- CmsFileHistorySettings
public class CmsFileHistorySettings.ComboBoxVersionsBean extends java.lang.Object
Bean for the elements of the combo box for number of version option.
-
-
Constructor Summary
Constructors Constructor Description ComboBoxVersionsBean(int value)
public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDisplayValue()
Getter for display String to be displayed in combo box.int
getValue()
Getter for (int) value of item.int
hashCode()
-
-
-
Constructor Detail
-
ComboBoxVersionsBean
public ComboBoxVersionsBean(int value)
public constructor.- Parameters:
value
- of item
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
getDisplayValue
public java.lang.String getDisplayValue()
Getter for display String to be displayed in combo box.- Returns:
- String to be displayed
-
getValue
public int getValue()
Getter for (int) value of item.- Returns:
- int value
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-