- java.lang.Object
-
- com.appslandia.common.models.SelectItemImpl
-
- All Implemented Interfaces:
SelectItem
public class SelectItemImpl extends Object implements SelectItem
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description static SelectItemImplEMPTY
-
Constructor Summary
Constructors Constructor Description SelectItemImpl(Object value, String displayName)SelectItemImpl(Object value, String displayName, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDisplayName()StringgetName()ObjectgetValue()inthashCode()intintValue()
-
-
-
Field Detail
-
EMPTY
public static final SelectItemImpl EMPTY
-
-
Method Detail
-
intValue
public int intValue()
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceSelectItem
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceSelectItem
-
getName
public String getName()
- Specified by:
getNamein interfaceSelectItem
-
-