com.hack23.cia.model.impl.application.common
Class Language

Package class diagram package Language
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.common.AbstractResource
          extended by com.hack23.cia.model.impl.application.common.AbstractApplicationResource
              extended by com.hack23.cia.model.impl.application.common.AbstractAgencyConfiguration
                  extended by com.hack23.cia.model.impl.application.common.Language
All Implemented Interfaces:
Configuration, LanguageData, ApplicationResource, ModelObject, PersistedModelObject, Resource, Serializable

@Entity
public class Language
extends AbstractAgencyConfiguration
implements LanguageData

The Class Language.

See Also:
Serialized Form

Field Summary
static String SWEDISH_LANGUAGE_CODE
          The Constant SWEDISH_LANGUAGE_CODE.
 
Constructor Summary
Language()
          Instantiates a new language.
 
Method Summary
 void addLanguageContentData(LanguageContentData languageContent)
          Adds the language content data.
 List<LanguageContent> getLanguageContents()
          Gets the language contents.
 List<LanguageContentData> getLanguageContentsData()
          Gets the language contents data.
 String getShortCode()
          Gets the short code.
 void removeLanguageContentData(LanguageContentData languageContent)
          Removes the language content data.
 void setLanguageContents(List<LanguageContent> languageContents)
          Sets the language contents.
 void setShortCode(String shortCode)
          Sets the short code.
 
Methods inherited from class com.hack23.cia.model.impl.application.common.AbstractAgencyConfiguration
getActiveByDefault, getApplicationTypeContext, getName, getUsageOrder, setActiveByDefault, setName, setUsageOrder
 
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.application.LanguageData
getName
 
Methods inherited from interface com.hack23.cia.model.api.application.Configuration
getActiveByDefault, getUsageOrder, setActiveByDefault, setName, setUsageOrder
 
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

SWEDISH_LANGUAGE_CODE

public static final String SWEDISH_LANGUAGE_CODE
The Constant SWEDISH_LANGUAGE_CODE.

See Also:
Constant Field Values
Constructor Detail

Language

public Language()
Instantiates a new language.

Method Detail

addLanguageContentData

public void addLanguageContentData(LanguageContentData languageContent)
Description copied from interface: LanguageData
Adds the language content data.

Specified by:
addLanguageContentData in interface LanguageData
Parameters:
languageContent - the language content

getLanguageContents

public List<LanguageContent> getLanguageContents()
Gets the language contents.

Returns:
the language contents

getLanguageContentsData

public List<LanguageContentData> getLanguageContentsData()
Description copied from interface: LanguageData
Gets the language contents data.

Specified by:
getLanguageContentsData in interface LanguageData
Returns:
the language contents data

getShortCode

public String getShortCode()
Description copied from interface: LanguageData
Gets the short code.

Specified by:
getShortCode in interface LanguageData
Returns:
the short code

removeLanguageContentData

public void removeLanguageContentData(LanguageContentData languageContent)
Description copied from interface: LanguageData
Removes the language content data.

Specified by:
removeLanguageContentData in interface LanguageData
Parameters:
languageContent - the language content

setLanguageContents

public void setLanguageContents(List<LanguageContent> languageContents)
Sets the language contents.

Parameters:
languageContents - the new language contents

setShortCode

public void setShortCode(String shortCode)
Description copied from interface: LanguageData
Sets the short code.

Specified by:
setShortCode in interface LanguageData
Parameters:
shortCode - the new short code


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.