org.equanda.validation
Class EnumerableChoiceAdapter

java.lang.Object
  extended by org.equanda.validation.ChoiceAdapter
      extended by org.equanda.validation.EnumerableChoiceAdapter
All Implemented Interfaces:
Choice, EnumerableChoice
Direct Known Subclasses:
DisplayPreferences, EditableRights, ISOCountry2Letter, ISOCountry3Letter, ISOCountryCode, ISOLanguage2Letter, RunnableRights

public class EnumerableChoiceAdapter
extends ChoiceAdapter
implements EnumerableChoice

Adapter class for EnumerableChoice validation

Author:
NetRom team, Andrei Chiritescu

Constructor Summary
EnumerableChoiceAdapter()
           
 
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 class org.equanda.validation.ChoiceAdapter
isAllowed, isAllowed, isAllowed, isAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.equanda.validation.Choice
isAllowed, isAllowed, isAllowed, isAllowed
 

Constructor Detail

EnumerableChoiceAdapter

public EnumerableChoiceAdapter()
Method Detail

getAllowedStringValues

public Collection<String> getAllowedStringValues()
Specified by:
getAllowedStringValues in interface EnumerableChoice

getAllowedStringNames

public Collection<String> getAllowedStringNames()
Specified by:
getAllowedStringNames in interface EnumerableChoice

getAllowedIntValues

public Collection<Integer> getAllowedIntValues()
Specified by:
getAllowedIntValues in interface EnumerableChoice

getAllowedIntNames

public Collection<String> getAllowedIntNames()
Specified by:
getAllowedIntNames in interface EnumerableChoice

getAllowedBooleanValues

public Collection<Boolean> getAllowedBooleanValues()
Specified by:
getAllowedBooleanValues in interface EnumerableChoice

getAllowedBooleanNames

public Collection<String> getAllowedBooleanNames()
Specified by:
getAllowedBooleanNames in interface EnumerableChoice

getAllowedDoubleValues

public Collection<Double> getAllowedDoubleValues()
Specified by:
getAllowedDoubleValues in interface EnumerableChoice

getAllowedDoubleNames

public Collection<String> getAllowedDoubleNames()
Specified by:
getAllowedDoubleNames in interface EnumerableChoice


Copyright © 2007-2009. All Rights Reserved.