allow choosing name/value

This commit is contained in:
bancika
2011-01-16 09:50:00 +00:00
parent 6f6d802829
commit 2660841ceb
2 changed files with 26 additions and 2 deletions
@@ -0,0 +1,11 @@
package org.diylc.common;
public enum Display {
NAME, VALUE;
@Override
public String toString() {
return name().substring(0, 1) + name().substring(1).toLowerCase();
}
}