org.mule.tck.testmodels.fruit
Class WaterMelon

java.lang.Object
  extended by org.mule.tck.testmodels.fruit.WaterMelon
All Implemented Interfaces:
Serializable, Disposable, Startable, Stoppable, Fruit

public class WaterMelon
extends Object
implements Fruit, Startable, Stoppable, Disposable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
WaterMelon()
           
WaterMelon(HashMap props)
           
 
Method Summary
 void bite()
           
 void dispose()
           
 boolean equals(Object obj)
           
 String getBrand()
           
 Double getRadius()
           
 Integer getSeeds()
           
 String getState()
           
 int hashCode()
           
 boolean isBitten()
           
 void myEventHandler(MuleEvent event)
           
 void setBrand(String string)
           
 void setRadius(Double double1)
           
 void setSeeds(Integer integer)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaterMelon

public WaterMelon()

WaterMelon

public WaterMelon(HashMap props)
           throws MuleException
Throws:
MuleException
Method Detail

bite

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

isBitten

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

myEventHandler

public void myEventHandler(MuleEvent event)
                    throws MuleException
Throws:
MuleException

getBrand

public String getBrand()

getSeeds

public Integer getSeeds()

getRadius

public Double getRadius()

setBrand

public void setBrand(String string)

setSeeds

public void setSeeds(Integer integer)

setRadius

public void setRadius(Double double1)

getState

public String getState()

start

public void start()
Specified by:
start in interface Startable

stop

public void stop()
Specified by:
stop in interface Stoppable

dispose

public void dispose()
Specified by:
dispose in interface Disposable

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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