org.equanda.validation
Interface EnumerableChoice

All Superinterfaces:
Choice
All Known Implementing Classes:
DisplayPreferences, EditableRights, EnumerableChoiceAdapter, ISOCountry2Letter, ISOCountry3Letter, ISOCountryCode, ISOLanguage2Letter, RunnableRights

public interface EnumerableChoice
extends Choice

Subinterface of Choice, introducing functions getAllowedValues, getAllowedNames If a validator class implements EnumerableChoice, these functions are used by the gui to produce a select widget for the respective field

Author:
Andrei Chiritescu

Method Summary
 Collection<String> getAllowedBooleanNames()
           
 Collection<Boolean> getAllowedBooleanValues()
           
 Collection<String> getAllowedDoubleNames()
           
 Collection<Double> getAllowedDoubleValues()
           
 Collection<String> getAllowedIntNames()
           
 Collection<Integer> getAllowedIntValues()
           
 Collection<String> getAllowedStringNames()
           
 Collection<String> getAllowedStringValues()
           
 
Methods inherited from interface org.equanda.validation.Choice
isAllowed, isAllowed, isAllowed, isAllowed
 

Method Detail

getAllowedStringValues

Collection<String> getAllowedStringValues()

getAllowedStringNames

Collection<String> getAllowedStringNames()

getAllowedIntValues

Collection<Integer> getAllowedIntValues()

getAllowedIntNames

Collection<String> getAllowedIntNames()

getAllowedBooleanValues

Collection<Boolean> getAllowedBooleanValues()

getAllowedBooleanNames

Collection<String> getAllowedBooleanNames()

getAllowedDoubleValues

Collection<Double> getAllowedDoubleValues()

getAllowedDoubleNames

Collection<String> getAllowedDoubleNames()


Copyright © 2007-2009. All Rights Reserved.