title: Enum helper in a class (java)
body: <p>If I have an Enum as a helper in a Java class, is there any way to refer to that Enum outside of the class it's helping?</p>
  
  <p>Basically, what I have is this:</p>
  
  <pre><code>class Account extends MyClass {
      HashMap&lt;Property, String&gt; property = new HashMap&lt;Property, String&gt;();
      public Account() {
      }
  
      public enum Property {
          USERID,
          PASSWORD;
      }
  }
  </code></pre>
  
  <p>I want to be able to access the Property enum outside of the Account class.
  The reason I want to do this is because this is a subclass of a another, and I want to be able to access the properties of a given subclass without refering to a unique enum name (ie: without refering to each one as, say, AccountProperty or ResearchProperty or TaskProperty... etc).</p>