Package com.pnfsoftware.jeb.core.units
Interface IUnitProvider
- All Known Implementing Classes:
AbstractUnitProvider
This interface allows the definition of common features that are designed to be extended on a new
or wrapped unit.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the unit description override.Get the formatter providing additional presentations.Get the unit format type override.
-
Method Details
-
getFormatType
String getFormatType()Get the unit format type override.- Returns:
- a format type, or null to keep the wrapped unit's value
-
getDescription
String getDescription()Get the unit description override.- Returns:
- a description, or null to keep the wrapped unit's value
-
getFormatter
IUnitFormatter getFormatter()Get the formatter providing additional presentations.- Returns:
- a formatter, or null if none
-