<p>Is there a way to write an enumeration that can be extended.  I have several methods that I would like to always have available for my enumerations.  For example I use an enumeration for my database fields.  I include the actual field name in the database. </p>

<pre><code>public enum ORDERFIELDS
        {
            OrderID("Order_ID");
            private String FieldName;

            private ORDERFIELDS(String fname)
                {
                    this.FieldName = fname;
                }

            public String getFieldName()
                {
                    return FieldName;
                }
        } 
</code></pre>

All enums implicitly extend
```
java.lang.Enum
```
. Since Java does not support multiple inheritance, an enum cannot extend anything else.