Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class Language extends AbstractEntity
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
Modifier and Type | Field | Description |
---|---|---|
static Comparator<Language> |
KEY_COMPARATOR |
|
static Comparator<Language> |
VALUE_COMPARATOR |
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
Language() |
Default constructor (required by Hibernate).
|
Language(String locale,
String key) |
|
Language(String locale,
String key,
String value) |
Convenience constructor to set the value too.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getLocale() |
|
String |
getResourceKey() |
|
String |
getResourceValue() |
|
void |
setLocale(String locale) |
|
void |
setResourceKey(String resourceKey) |
|
void |
setResourceValue(String resourceValue) |
|
String |
toString() |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
public static final Comparator<Language> KEY_COMPARATOR
public static final Comparator<Language> VALUE_COMPARATOR
public Language()
PENDING: should be private
so that it can only be used by
Hibernate, to ensure that the fields which form an instance's identity
are always initialized/never null.
public String getLocale()
public void setLocale(String locale)
public String getResourceKey()
public void setResourceKey(String resourceKey)
public String getResourceValue()
public void setResourceValue(String resourceValue)
Copyright © 2002–2019 itracker. All rights reserved.