org.mule.tck.testmodels.fruit
Class Orange
java.lang.Object
org.mule.tck.testmodels.fruit.Orange
- All Implemented Interfaces:
- Serializable, Callable, EventListener, Fruit, OrangeInterface
- Direct Known Subclasses:
- BloodOrange, MadridOrange
public class Orange
- extends Object
- implements Callable, OrangeInterface
- See Also:
- Serialized Form
Orange
public Orange()
Orange
public Orange(Integer segments,
Double radius,
String brand)
Orange
public Orange(HashMap<String,Object> props)
throws MuleException
- Throws:
MuleException
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
getBrand
public String getBrand()
- Specified by:
getBrand
in interface OrangeInterface
getSegments
public Integer getSegments()
- Specified by:
getSegments
in interface OrangeInterface
getRadius
public Double getRadius()
- Specified by:
getRadius
in interface OrangeInterface
setBrand
public void setBrand(String string)
- Specified by:
setBrand
in interface OrangeInterface
setSegments
public void setSegments(Integer integer)
- Specified by:
setSegments
in interface OrangeInterface
setRadius
public void setRadius(Double double1)
- Specified by:
setRadius
in interface OrangeInterface
getListProperties
public List getListProperties()
- Specified by:
getListProperties
in interface OrangeInterface
- Returns:
- Returns the listProperties.
setListProperties
public void setListProperties(List listProperties)
- Specified by:
setListProperties
in interface OrangeInterface
- Parameters:
listProperties
- The listProperties to set.
getMapProperties
public Map getMapProperties()
- Specified by:
getMapProperties
in interface OrangeInterface
- Returns:
- Returns the mapProperties.
setMapProperties
public void setMapProperties(Map mapProperties)
- Specified by:
setMapProperties
in interface OrangeInterface
- Parameters:
mapProperties
- The mapProperties to set.
getArrayProperties
public List getArrayProperties()
- Specified by:
getArrayProperties
in interface OrangeInterface
- Returns:
- Returns the arrayProperties.
setArrayProperties
public void setArrayProperties(List arrayProperties)
- Specified by:
setArrayProperties
in interface OrangeInterface
- Parameters:
arrayProperties
- The arrayProperties to set.
getCleaner
public FruitCleaner getCleaner()
- Specified by:
getCleaner
in interface OrangeInterface
setCleaner
public void setCleaner(FruitCleaner cleaner)
- Specified by:
setCleaner
in interface OrangeInterface
wash
public void wash()
- Specified by:
wash
in interface OrangeInterface
polish
public void polish()
- Specified by:
polish
in interface OrangeInterface
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.