I have a few Java enums as such
public enum Aggregation { MORTGAGE( \"Mortgage\" ), POOLS( \"Pools\" ), PORTFOLIO( \"Portfolio\" ); private
just define your common behviur in the First class:
public class First { public String name() { return "my name"; } ... }
and than extend it in each class:
public SecondClass extends First { ... }