Class TranslationImpl
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
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
-
-
Method Details
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
getLocale
public java.util.Locale getLocale()- Specified by:
getLocalein interfaceTranslation
-
setLocale
public void setLocale(java.util.Locale locale)- Specified by:
setLocalein interfaceTranslation
-
getText
public java.lang.String getText()- Specified by:
getTextin interfaceTranslation
-
setText
public void setText(java.lang.String text)- Specified by:
setTextin interfaceTranslation
-
has
public boolean has(java.util.Locale locale)- Specified by:
hasin interfaceTranslation
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-