title: How to define properties for Enum items
body: <p>I have read the question <a href="https://stackoverflow.com/questions/2080681/difference-of-enum-between-java-and-c">Difference of Enum between java and C++?</a> but I'm still confused.</p>
  
  <p>I would like the following to return the related String:</p>
  
  <pre><code>public enum Checker {
      EMPTY ("Empty"),
      RED ("Red"),
      YELLOW ("Yellow");
  }
  </code></pre>
  
  <p>From what I have read, this should be possible. Just would like you to shed some light on it on how to implement it.</p>