public class CMAEntry.Localized
extends java.lang.Object
Please use CMAEntry.localize(String)
to see how to create an instance.
Modifier and Type | Method and Description |
---|---|
<T> T |
getField(java.lang.String key)
Get a localized field.
|
<T> CMAEntry.Localized |
setField(java.lang.String key,
T value)
Change the value of a localized field.
|
java.lang.String |
toString() |
public <T> T getField(java.lang.String key)
T
- the type of the value to be returned.key
- the key of the value to be returned.public <T> CMAEntry.Localized setField(java.lang.String key, T value)
T
- type of the field.key
- identifier of the field to be changed.value
- value of the new field.CMAEntry.Localized
instance, for easy chaining.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.