org.equanda.test.validator
Class OtherChoices
java.lang.Object
org.equanda.validation.ChoiceAdapter
org.equanda.validation.EnumerableChoiceAdapter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OtherChoices
public OtherChoices()
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.