com.hack23.cia.model.impl.application.content
Class LanguageContent

Package class diagram package LanguageContent
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.content.AbstractApplicationResource
              extended by com.hack23.cia.model.impl.application.content.LanguageContent
All Implemented Interfaces:
Content, LanguageContentData, ApplicationResource, ModelObject, PersistedModelObject, Resource, Serializable

@Entity
public class LanguageContent
extends AbstractApplicationResource
implements LanguageContentData

The Class LanguageContent.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
LanguageContent()
          Instantiates a new language content.
 
Method Summary
Modifier and Type Method and Description
 boolean getActiveByDefault()
          Gets the active by default.
protected  TypeContext getApplicationTypeContext()
          Gets the application type context.
 String getContent()
          Gets the content.
 String getContentPropertyName()
          Gets the content property name.
 String getDescription()
          Gets the description.
 Language getLanguage()
          Gets the language.
 LanguageContentType getLanguageContentType()
          Gets the language content type.
 LanguageData getLanguageData()
          Gets the language data.
 String getName()
          Gets the name.
 int getUsageOrder()
          Gets the usage order.
 void setContent(String content)
          Sets the content.
 void setContentPropertyName(String contentPropertyName)
          Sets the content property name.
 void setDescription(String description)
          Sets the description.
 void setLanguage(Language language)
          Sets the language.
 void setLanguageContentType(LanguageContentType languageContentType)
          Sets the language content type.
 void setLanguageData(LanguageData language)
          Sets the language data.
 void setName(String name)
          Sets the name.
 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
 

Constructor Detail

LanguageContent

public LanguageContent()
Instantiates a new language content.

Method Detail

getActiveByDefault

public boolean getActiveByDefault()
Gets the active by default.

Returns:
the active by default

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getContent

public String getContent()
Description copied from interface: LanguageContentData
Gets the content.

Specified by:
getContent in interface LanguageContentData
Returns:
the content

getContentPropertyName

public String getContentPropertyName()
Description copied from interface: LanguageContentData
Gets the content property name.

Specified by:
getContentPropertyName in interface LanguageContentData
Returns:
the content property name

getDescription

public String getDescription()
Description copied from interface: LanguageContentData
Gets the description.

Specified by:
getDescription in interface LanguageContentData
Returns:
the description

getLanguage

public Language getLanguage()
Gets the language.

Returns:
the language

getLanguageContentType

public LanguageContentType getLanguageContentType()
Gets the language content type.

Returns:
the language content type

getLanguageData

public LanguageData getLanguageData()
Description copied from interface: LanguageContentData
Gets the language data.

Specified by:
getLanguageData in interface LanguageContentData
Returns:
the language data

getName

public String getName()
Gets the name.

Returns:
the name

getUsageOrder

public int getUsageOrder()
Gets the usage order.

Returns:
the usage order

setContent

public void setContent(String content)
Description copied from interface: LanguageContentData
Sets the content.

Specified by:
setContent in interface LanguageContentData
Parameters:
content - the new content

setContentPropertyName

public void setContentPropertyName(String contentPropertyName)
Description copied from interface: LanguageContentData
Sets the content property name.

Specified by:
setContentPropertyName in interface LanguageContentData
Parameters:
contentPropertyName - the new content property name

setDescription

public void setDescription(String description)
Description copied from interface: LanguageContentData
Sets the description.

Specified by:
setDescription in interface LanguageContentData
Parameters:
description - the new description

setLanguage

public void setLanguage(Language language)
Sets the language.

Parameters:
language - the new language

setLanguageContentType

public void setLanguageContentType(LanguageContentType languageContentType)
Description copied from interface: LanguageContentData
Sets the language content type.

Specified by:
setLanguageContentType in interface LanguageContentData
Parameters:
languageContentType - the new language content type

setLanguageData

public void setLanguageData(LanguageData language)
Description copied from interface: LanguageContentData
Sets the language data.

Specified by:
setLanguageData in interface LanguageContentData
Parameters:
language - the new language data

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

setUsageOrder

public void setUsageOrder(int usageOrder)
Sets the usage order.

Parameters:
usageOrder - the new usage order


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