org.mule.tck.testmodels.fruit
Class Apple

java.lang.Object
  extended by org.mule.tck.testmodels.fruit.Apple
All Implemented Interfaces:
Serializable, Callable, EventListener, Fruit
Direct Known Subclasses:
RedApple

public class Apple
extends Object
implements Fruit, Callable

See Also:
Serialized Form

Constructor Summary
Apple()
           
Apple(boolean bitten)
           
 
Method Summary
 void bite()
           
 boolean equals(Object o)
           
 FruitCleaner getAppleCleaner()
           
 int hashCode()
           
 boolean isBitten()
           
 boolean isWashed()
           
 Object methodReturningNull()
           
 Object onCall(MuleEventContext context)
           
 void polish()
           
 void setAppleCleaner(FruitCleaner cleaner)
           
 void setBitten(boolean bitten)
           
 void setWashed(boolean washed)
           
 String toString()
           
 void wash()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Apple

public Apple()

Apple

public Apple(boolean bitten)
Method Detail

wash

public void wash()

polish

public void polish()

isWashed

public boolean isWashed()

bite

public void bite()
Specified by:
bite in interface Fruit

isBitten

public boolean isBitten()
Specified by:
isBitten in interface Fruit

onCall

public Object onCall(MuleEventContext context)
              throws MuleException
Specified by:
onCall in interface Callable
Throws:
MuleException

getAppleCleaner

public FruitCleaner getAppleCleaner()

setAppleCleaner

public void setAppleCleaner(FruitCleaner cleaner)

methodReturningNull

public Object methodReturningNull()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

setBitten

public void setBitten(boolean bitten)

setWashed

public void setWashed(boolean washed)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.