title: Configuring an enum in Spring using application.properties
body: <p>I have the following enum:</p>
  
  <pre><code>public enum MyEnum {
      NAME("Name", "Good", 100),
      FAME("Fame", "Bad", 200);
  
      private String lowerCase;
      private String atitude;
      private long someNumber;
  
      MyEnum(String lowerCase, String atitude, long someNumber) {
          this.lowerCase = lowerCase;
          this.atitude = atitude;
          this.someNumber = someNumber;
      }
  }
  </code></pre>
  
  <p>I want to setup the someNumber variable different for both instances of the enum using application.properties file.
  Is this possible and if not, should i split it into two classes using an abstract class/interface for the abstraction?</p>