Interface SportSummary

All Known Subinterfaces:
Sport
All Known Implementing Classes:
SportImpl, SportSummaryImpl

public interface SportSummary
Defines methods implemented by classes representing a sport
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an Urn uniquely identifying the sport represented by the current instance
    Returns the name of the current SportSummary instance in the specified language
    Returns an unmodifiable Map containing translated sport names
  • Method Details

    • getId

      Urn getId()
      Returns an Urn uniquely identifying the sport represented by the current instance
      Returns:
      - an Urn uniquely identifying the sport represented by the current instance
    • getName

      String getName(Locale l)
      Returns the name of the current SportSummary instance in the specified language
      Parameters:
      l - - a Locale specifying the language in which the name should be translated
      Returns:
      - the name of the current SportSummary instance in the specified language
    • getNames

      Map<Locale,String> getNames()
      Returns an unmodifiable Map containing translated sport names
      Returns:
      - an unmodifiable Map containing translated sport names