Class DataTranslation
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.contentmanagement.DataTranslation
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class DataTranslation extends BaseEntity
Holds translations for some data in some language
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description DataTranslation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetEntityId()LanguagegetLanguage()NetworkgetNetwork()Returns the network this entity belongs toStringgetPropertyName()DataTranslationTypegetType()StringgetValue()voidsetEntityId(Long entityId)voidsetLanguage(Language language)voidsetPropertyName(String propertyName)voidsetType(DataTranslationType type)voidsetValue(String value)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getEntityId
public Long getEntityId()
-
getLanguage
public Language getLanguage()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getPropertyName
public String getPropertyName()
-
getType
public DataTranslationType getType()
-
getValue
public String getValue()
-
setEntityId
public void setEntityId(Long entityId)
-
setLanguage
public void setLanguage(Language language)
-
setPropertyName
public void setPropertyName(String propertyName)
-
setType
public void setType(DataTranslationType type)
-
setValue
public void setValue(String value)
-
-