how to return enumerate in method
<p>Product.java</p>

<pre><code>public interface Product {
    /**
     * use this interface for creating your own enumerate of products
     */
    public static interface Category {
        enum MyCategory {vegetable, fruit, chocolate};   // i create my own enumerate

    }

}
</code></pre>

<p>in my MyProduct.java i need implement getCategory() method</p>

<pre><code>public class MyProduct implements Product {

    @Override
    public Category getCategory() {
     // ???
    }

}
</code></pre>

<p>but i don't know how to access enumerate from interface Category and still returning variable of Category. Con you help me please. 
Sorry for bad description of my problem, but I hope you understand what I need :)</p>
