For the record, here's the code for the MaterialUnit enum inside the Material
class:
| public enum MaterialUnit {
| SQUARE_METRES("m\u00b2"),
| ROLLS("rll"),
| PIECES("kpl"),
| KILOGRAMS("kg");
|
| private final String name;
|
| private MaterialUnit(final String name) {
| this.name = name;
| }
|
| @Override
| public String toString() {
| return name;
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020661#4020661
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020661
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user