|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.common.AbstractResource com.hack23.cia.model.impl.application.content.AbstractApplicationResource com.hack23.cia.model.impl.application.content.Language
@Entity public class Language extends AbstractApplicationResource implements LanguageData
The Class Language.
Modifier and Type | Field and Description |
---|---|
static String |
SWEDISH_LANGUAGE_CODE
The Constant SWEDISH_LANGUAGE_CODE. |
Constructor and Description |
---|
Language()
Instantiates a new language. |
Modifier and Type | Method and Description |
---|---|
void |
addLanguageContentData(LanguageContentData languageContent)
Adds the language content data. |
boolean |
getActiveByDefault()
Gets the active by default. |
TypeContext |
getApplicationTypeContext()
Gets the application type context. |
List<LanguageContent> |
getLanguageContents()
Gets the language contents. |
List<LanguageContentData> |
getLanguageContentsData()
Gets the language contents data. |
String |
getName()
Gets the name. |
String |
getShortCode()
Gets the short code. |
int |
getUsageOrder()
Gets the usage order. |
void |
removeLanguageContentData(LanguageContentData languageContent)
Removes the language content data. |
void |
setActiveByDefault(boolean activeByDefault)
Sets the active by default. |
void |
setLanguageContents(List<LanguageContent> languageContents)
Sets the language contents. |
void |
setName(String name)
Sets the name. |
void |
setShortCode(String shortCode)
Sets the short code. |
void |
setUsageOrder(int usageOrder)
Sets the usage order. |
Methods inherited from class com.hack23.cia.model.impl.common.AbstractResource |
---|
getId, getResourceType, getVersion, setId, setResourceType, setVersion |
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
---|
equals, getTypeContext, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.api.common.Resource |
---|
getResourceType |
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
---|
getId, getTypeContext, getVersion, isNew, setId, setVersion |
Field Detail |
---|
public static final String SWEDISH_LANGUAGE_CODE
Constructor Detail |
---|
public Language()
Method Detail |
---|
public void addLanguageContentData(LanguageContentData languageContent)
LanguageData
addLanguageContentData
in interface LanguageData
languageContent
- the language contentpublic boolean getActiveByDefault()
UsageOrder
getActiveByDefault
in interface LanguageData
getActiveByDefault
in interface UsageOrder
public TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
public List<LanguageContent> getLanguageContents()
public List<LanguageContentData> getLanguageContentsData()
LanguageData
getLanguageContentsData
in interface LanguageData
public String getName()
LanguageData
getName
in interface LanguageData
public String getShortCode()
LanguageData
getShortCode
in interface LanguageData
public int getUsageOrder()
UsageOrder
getUsageOrder
in interface LanguageData
getUsageOrder
in interface UsageOrder
public void removeLanguageContentData(LanguageContentData languageContent)
LanguageData
removeLanguageContentData
in interface LanguageData
languageContent
- the language contentpublic void setLanguageContents(List<LanguageContent> languageContents)
languageContents
- the new language contentspublic void setName(String name)
LanguageData
setName
in interface LanguageData
name
- the new namepublic void setShortCode(String shortCode)
LanguageData
setShortCode
in interface LanguageData
shortCode
- the new short codepublic void setActiveByDefault(boolean activeByDefault)
UsageOrder
setActiveByDefault
in interface UsageOrder
activeByDefault
- the new active by defaultpublic void setUsageOrder(int usageOrder)
UsageOrder
setUsageOrder
in interface UsageOrder
usageOrder
- the new usage order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |