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

Package class diagram package LanguageContent
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.LanguageContent
All Implemented Interfaces:
Content, ApplicationResource, ModelObject, PersistedModelObject, Resource, Serializable

@Entity
public class LanguageContent
extends AbstractApplicationResource
implements Content

The Class LanguageContent.

See Also:
Serialized Form

Nested Class Summary
static class LanguageContent.LanguageContentType
          The Enum LanguageContentType.
 
Constructor Summary
LanguageContent()
          Instantiates a new language content.
 
Method Summary
 boolean getActiveByDefault()
          Gets the active by default.
 String getContent()
          Gets the content.
 String getContentPropertyName()
          Gets the content property name.
 String getDescription()
          Gets the description.
 Language getLanguage()
          Gets the language.
 LanguageContent.LanguageContentType getLanguageContentType()
          Gets the language content type.
 String getName()
          Gets the name.
 int getUsageOrder()
          Gets the usage order.
 void setActiveByDefault(boolean activeByDefault)
          Sets the active by default.
 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(LanguageContent.LanguageContentType languageContentType)
          Sets the language content type.
 void setName(String name)
          Sets the name.
 void setUsageOrder(int usageOrder)
          Sets the usage order.
 
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
 

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

getContent

public String getContent()
Gets the content.

Returns:
the content

getContentPropertyName

public String getContentPropertyName()
Gets the content property name.

Returns:
the content property name

getDescription

public String getDescription()
Gets the description.

Returns:
the description

getLanguage

public Language getLanguage()
Gets the language.

Returns:
the language

getLanguageContentType

public LanguageContent.LanguageContentType getLanguageContentType()
Gets the language content type.

Returns:
the language content type

getName

public String getName()
Gets the name.

Returns:
the name

getUsageOrder

public int getUsageOrder()
Gets the usage order.

Returns:
the usage order

setActiveByDefault

public void setActiveByDefault(boolean activeByDefault)
Sets the active by default.

Parameters:
activeByDefault - the new active by default

setContent

public void setContent(String content)
Sets the content.

Parameters:
content - the new content

setContentPropertyName

public void setContentPropertyName(String contentPropertyName)
Sets the content property name.

Parameters:
contentPropertyName - the new content property name

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the new description

setLanguage

public void setLanguage(Language language)
Sets the language.

Parameters:
language - the new language

setLanguageContentType

public void setLanguageContentType(LanguageContent.LanguageContentType languageContentType)
Sets the language content type.

Parameters:
languageContentType - the new language content type

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-2009 www.hack23.com. All Rights Reserved.