Interface II18nMessage

All Known Implementing Classes:
Dict, I18nMessage

@MappedSuperclass public interface II18nMessage
需要国际化的功能,需要实现该接口
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    当命名空间与键都相同时,认为是同一国际化内容
     
     
  • Method Details

    • getNamespace

      String getNamespace()
      Returns:
      命名空间
    • getMessageKey

      String getMessageKey()
      Returns:
      国际化内容
    • eq

      default boolean eq(II18nMessage that)
      当命名空间与键都相同时,认为是同一国际化内容
      Parameters:
      that - 另一个实现了国际化内容接口的对象
      Returns:
      是否认定同一