How can I define a custom unit called roll using JSR 363? How can I define it as a predefined quantity for length like one roll is always 250 meters? How can I define it as a totally separate base unit in case a roll doesn't have a fixed length?
I am using tec.uom:uom-se:1.0.2
. I tried to add a new unit like in JSR 363 adding new units but addUnit
method is private so it cannot be called from the extending class.