Class LocalePair

java.lang.Object
org.broadleafcommerce.common.i18n.service.LocalePair

public class LocalePair extends Object
Represents a cached translation pair.
Author:
Jeff Fischer
  • Constructor Details

    • LocalePair

      public LocalePair()
  • Method Details

    • getSpecificItem

      public StandardCacheItem getSpecificItem()
      Retrieve the language and country specific translation.
      Returns:
    • setSpecificItem

      public void setSpecificItem(StandardCacheItem specificItem)
    • getGeneralItem

      public StandardCacheItem getGeneralItem()
      Retrieve the language only translation.
      Returns:
    • setGeneralItem

      public void setGeneralItem(StandardCacheItem generalItem)