org.mule.tck.testmodels.fruit
Class WaterMelon
java.lang.Object
org.mule.tck.testmodels.fruit.WaterMelon
- All Implemented Interfaces:
- Disposable, Fruit, Serializable, Startable, Stoppable
- public class WaterMelon
- extends Object
- implements Fruit, Startable, Stoppable, Disposable
- See Also:
- Serialized Form
WaterMelon
public WaterMelon()
WaterMelon
public WaterMelon(HashMap props)
throws UMOException
bite
public void bite()
- Specified by:
bite
in interface Fruit
isBitten
public boolean isBitten()
- Specified by:
isBitten
in interface Fruit
myEventHandler
public void myEventHandler(UMOEvent event)
throws UMOException
- Throws:
UMOException
getBrand
public String getBrand()
- Returns:
getSeeds
public Integer getSeeds()
- Returns:
getRadius
public Double getRadius()
- Returns:
setBrand
public void setBrand(String string)
- Parameters:
string
-
setSeeds
public void setSeeds(Integer integer)
- Parameters:
integer
-
setRadius
public void setRadius(Double double1)
- Parameters:
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()
- Description copied from interface:
Disposable
- A lifecycle method where implementor should free up any resources. If an
exception is thrown it should just be logged and processing should continue.
This method should not throw Runtime exceptions.
- Specified by:
dispose
in interface Disposable
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.