public class TranslationForm extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
ceilingEntity |
protected String |
entityId |
protected String |
fieldType
The type of field that the translatable property is.
|
protected Boolean |
isRte
Deprecated.
Prefer using
fieldType to explicitly specify the field type for more
advanced logic. Note that getIsRte() will remain as a shorthand way of
determining if the field type should be rendered as HTML/rich-text |
protected String |
localeCode |
protected String |
propertyName |
protected String |
translatedValue |
protected Long |
translationId |
| Constructor and Description |
|---|
TranslationForm() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCeilingEntity() |
String |
getEntityId() |
String |
getFieldType() |
Boolean |
getIsRte()
Determines whether the translatable property is rich-text.
|
String |
getLocaleCode() |
String |
getPropertyName() |
String |
getTranslatedValue() |
Long |
getTranslationId() |
void |
setCeilingEntity(String ceilingEntity) |
void |
setEntityId(String entityId) |
void |
setFieldType(String fieldType) |
void |
setIsRte(Boolean isRte)
Deprecated.
use
fieldType instead |
void |
setLocaleCode(String localeCode) |
void |
setPropertyName(String propertyName) |
void |
setTranslatedValue(String translatedValue) |
void |
setTranslationId(Long translationId) |
protected String ceilingEntity
protected String entityId
protected String propertyName
protected String localeCode
protected String translatedValue
protected Long translationId
@Deprecated protected Boolean isRte
fieldType to explicitly specify the field type for more
advanced logic. Note that getIsRte() will remain as a shorthand way of
determining if the field type should be rendered as HTML/rich-textprotected String fieldType
SupportedFieldType's values.
Prefer using this field over isRte.
public String getCeilingEntity()
public void setCeilingEntity(String ceilingEntity)
public String getEntityId()
public void setEntityId(String entityId)
public String getPropertyName()
public void setPropertyName(String propertyName)
public String getLocaleCode()
public void setLocaleCode(String localeCode)
public String getTranslatedValue()
public void setTranslatedValue(String translatedValue)
public Long getTranslationId()
public void setTranslationId(Long translationId)
public Boolean getIsRte()
fieldType matches such values as SupportedFieldType.HTML or
SupportedFieldType.HTML_BASIC and thus is rich-text. For backwards compatibility,
this will also check the now deprecated isRte.@Deprecated public void setIsRte(Boolean isRte)
fieldType insteadpublic String getFieldType()
public void setFieldType(String fieldType)
Copyright © 2023. All rights reserved.