java.lang.Object
de.digitalcollections.model.impl.identifiable.parts.TranslationImpl
All Implemented Interfaces:
Translation

public class TranslationImpl
extends java.lang.Object
implements Translation
  • Constructor Summary

    Constructors
    Constructor Description
    TranslationImpl​(Translation translation)  
    TranslationImpl​(java.util.Locale locale, java.lang.String text)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.util.Locale getLocale()  
    java.lang.String getText()  
    boolean has​(java.util.Locale locale)  
    int hashCode()  
    void setLocale​(java.util.Locale locale)  
    void setText​(java.lang.String text)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TranslationImpl

      public TranslationImpl​(java.util.Locale locale, java.lang.String text)
    • TranslationImpl

      public TranslationImpl​(Translation translation)
  • Method Details

    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • getLocale

      public java.util.Locale getLocale()
      Specified by:
      getLocale in interface Translation
    • setLocale

      public void setLocale​(java.util.Locale locale)
      Specified by:
      setLocale in interface Translation
    • getText

      public java.lang.String getText()
      Specified by:
      getText in interface Translation
    • setText

      public void setText​(java.lang.String text)
      Specified by:
      setText in interface Translation
    • has

      public boolean has​(java.util.Locale locale)
      Specified by:
      has in interface Translation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object