Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
    
   
      
      
lib 
 
java.lang.Object 
  |
  +--lib.MultiPropertyTest.PropertyTester 
        |
        +--lib.MultiPropertyTest.PropertyValueSwitcher 
 
Enclosing class:  MultiPropertyTest  
public class MultiPropertyTest.PropertyValueSwitcher extends MultiPropertyTest.PropertyTester    
Extension for PropertyTester which switches two
 different values. getNewValue() method of this
 class returns one of these two values depending on the
 old value, so new value is not equal to old value.
 
Method Summary   
protected  Object  getNewValue String  propName,
            Object  old)PropertyTester which
 retruns new value from two values specified. 
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
MultiPropertyTest.PropertyValueSwitcher 
public MultiPropertyTest.PropertyValueSwitcher (Object  val1,
                                               Object  val2) 
Constructs a property tester with two different values
 specified as parameters.
Parameters: val1 - Not null value for the property
 tested.val1 - Not null value for the property
 tested which differs from the first value. 
  
getNewValue 
protected Object  getNewValue (String  propName,
                             Object  old) 
Overriden method of PropertyTester which
 retruns new value from two values specified.
Overrides: getNewValue MultiPropertyTest.PropertyTester  
Returns: The second value if old value is equal to the first
 one, the first value otherwise.