org.alfresco.repo.domain.hibernate
Class LocaleEntityImpl
java.lang.Object
org.alfresco.repo.domain.hibernate.LocaleEntityImpl
- All Implemented Interfaces:
- java.io.Serializable, LocaleEntity
public class LocaleEntityImpl
- extends java.lang.Object
- implements LocaleEntity, java.io.Serializable
Hibernate-specific implementation of the domain entity LocaleEntity.
- Since:
- 2.2.1
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_LOCALE_SUBSTITUTE
public static final java.lang.String DEFAULT_LOCALE_SUBSTITUTE
- See Also:
- Constant Field Values
LocaleEntityImpl
public LocaleEntityImpl()
getLocale
public java.util.Locale getLocale()
- Lazily constructs a
Locale
instance referencing this entity
- Specified by:
getLocale
in interface LocaleEntity
setLocale
public void setLocale(java.util.Locale locale)
- Specified by:
setLocale
in interface LocaleEntity
- Parameters:
locale
- the locale to set or null to represent the default locale
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
#getStoreRef()()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- See Also:
#getKey()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
#getKey()
getId
public java.lang.Long getId()
- Specified by:
getId
in interface LocaleEntity
getVersion
public java.lang.Long getVersion()
getLocaleStr
public java.lang.String getLocaleStr()
- Specified by:
getLocaleStr
in interface LocaleEntity
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.