Interface IUnitProvider

All Known Implementing Classes:
AbstractUnitProvider

@Ser public interface IUnitProvider
This interface allows the definition of common features that are designed to be extended on a new or wrapped unit.
See Also:
  • 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