org.equanda.test.validator
Class OtherChoices

java.lang.Object
  extended by org.equanda.validation.ChoiceAdapter
      extended by org.equanda.validation.EnumerableChoiceAdapter
          extended by org.equanda.test.validator.OtherChoices
All Implemented Interfaces:
Choice, EnumerableChoice

public class OtherChoices
extends EnumerableChoiceAdapter

This is used by the ChoicesTest test-case

Author:
NetRom team

Constructor Summary
OtherChoices()
           
 
Method Summary
 Collection getAllowedIntNames()
           
 Collection getAllowedIntProxy()
           
 Collection getAllowedStringNames()
           
 Collection getAllowedStringProxy()
           
 boolean isAllowed(int i)
           
 boolean isAllowed(String s)
           
 
Methods inherited from class org.equanda.validation.EnumerableChoiceAdapter
getAllowedBooleanNames, getAllowedBooleanValues, getAllowedDoubleNames, getAllowedDoubleValues, getAllowedIntValues, getAllowedStringValues
 
Methods inherited from class org.equanda.validation.ChoiceAdapter
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
 

Constructor Detail

OtherChoices

public OtherChoices()
Method Detail

isAllowed

public boolean isAllowed(String s)
Specified by:
isAllowed in interface Choice
Overrides:
isAllowed in class ChoiceAdapter

isAllowed

public boolean isAllowed(int i)
Specified by:
isAllowed in interface Choice
Overrides:
isAllowed in class ChoiceAdapter

getAllowedStringProxy

public Collection getAllowedStringProxy()

getAllowedStringNames

public Collection getAllowedStringNames()
Specified by:
getAllowedStringNames in interface EnumerableChoice
Overrides:
getAllowedStringNames in class EnumerableChoiceAdapter

getAllowedIntProxy

public Collection getAllowedIntProxy()

getAllowedIntNames

public Collection getAllowedIntNames()
Specified by:
getAllowedIntNames in interface EnumerableChoice
Overrides:
getAllowedIntNames in class EnumerableChoiceAdapter


Copyright © 2007-2008. All Rights Reserved.