KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > tck > testmodels > fruit > InvalidSatsuma


1 /*
2  * $Id: InvalidSatsuma.java 3167 2006-09-22 15:47:04Z holger $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.tck.testmodels.fruit;
12
13 /**
14  * <code>InvalidSatsuma</code> has no discoverable methods
15  *
16  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
17  * @version $Revision: 3167 $
18  */

19 public class InvalidSatsuma implements Fruit
20 {
21     /**
22      * Serial version
23      */

24     private static final long serialVersionUID = -6328691504772842584L;
25
26     private boolean bitten = false;
27
28     /*
29      * (non-Javadoc)
30      *
31      * @see org.mule.testmodels.fruit.Fruit#bite()
32      */

33     public void bite()
34     {
35         bitten = true;
36
37     }
38
39     /*
40      * (non-Javadoc)
41      *
42      * @see org.mule.testmodels.fruit.Fruit#isBitten()
43      */

44     public boolean isBitten()
45     {
46         return bitten;
47     }
48
49 }
50
Popular Tags