org.outerj.daisy.repository.schema
Interface ListItem

All Known Subinterfaces:
StaticListItem

public interface ListItem

An item from a SelectionList


Method Summary
 java.lang.String getLabel(java.util.Locale locale)
          Returns a label which is shown to the end-user instead of the actual value of the ListItem.
 java.lang.String getLabelExact(java.util.Locale locale)
           
 java.lang.Object getValue()
          Returns the actual value of the ListItem.
 

Method Detail

getValue

java.lang.Object getValue()
Returns the actual value of the ListItem.


getLabel

java.lang.String getLabel(java.util.Locale locale)
Returns a label which is shown to the end-user instead of the actual value of the ListItem.

Parameters:
locale - the locale to use for the presentation of the label
Returns:
the desired label

getLabelExact

java.lang.String getLabelExact(java.util.Locale locale)


Copyright © -2012 . All Rights Reserved.