public abstract class Language extends Object implements Serializable
Represents a language
Modifier and Type | Class and Description |
---|---|
static class |
Language.Factory
Constructs new instances of
Language . |
Constructor and Description |
---|
Language() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Language instance and all identifiers for
this entity equal the identifiers of the argument entity. |
Long |
getId() |
String |
getLanguageCode()
The code of the language
|
String |
getName()
The name of language
|
String |
getNameLocalized()
The localized name of the country
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setId(Long id) |
void |
setLanguageCode(String languageCode) |
void |
setName(String name) |
void |
setNameLocalized(String nameLocalized) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an Language instance and all identifiers for
this entity equal the identifiers of the argument entity. Returns false
otherwise.public Long getId()
public String getLanguageCode()
The code of the language
public String getName()
The name of language
public String getNameLocalized()
The localized name of the country
public int hashCode()
public void setId(Long id)
public void setLanguageCode(String languageCode)
public void setName(String name)
public void setNameLocalized(String nameLocalized)
Copyright © 2019 Communote team. All rights reserved.