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

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

@Entity
public class Language
extends AbstractAgencyConfiguration

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
 List<LanguageContent> getLanguageContents()
          Gets the language contents.
 String getShortCode()
          Gets the short code.
 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.application.impl.common.AbstractAgencyConfiguration
getActiveByDefault, getName, getUsageOrder, setActiveByDefault, setName, setUsageOrder
 
Methods inherited from class com.hack23.cia.model.common.impl.AbstractResource
getId, getResourceType, getVersion, setId, setResourceType, setVersion
 
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity
equals, 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.common.api.Resource
getResourceType, setResourceType
 
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject
getId, 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

getLanguageContents

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

Returns:
the language contents

getShortCode

public String getShortCode()
Gets the short code.

Returns:
the short code

setLanguageContents

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

Parameters:
languageContents - the new language contents

setShortCode

public void setShortCode(String shortCode)
Sets the short code.

Parameters:
shortCode - the new short code


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