Package com.contentful.java.cma.model
Class CMAAsset.Fields.Localized
- java.lang.Object
-
- com.contentful.java.cma.model.CMAAsset.Fields.Localized
-
- Enclosing class:
- CMAAsset.Fields
public class CMAAsset.Fields.Localized extends java.lang.ObjectLocalize all fields with a given locale.Please use
CMAAsset.Fields.localize(String)to see how to create an instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()CMAAssetFilegetFile()java.lang.StringgetTitle()CMAAsset.Fields.LocalizedsetDescription(java.lang.String value)Change the localized version of the description.CMAAsset.Fields.LocalizedsetFile(CMAAssetFile value)Change the localized version of the file.CMAAsset.Fields.LocalizedsetTitle(java.lang.String value)Change the localized version of the title.java.lang.StringtoString()
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Returns:
- a localized version of
CMAAsset.Fields.getDescription(String)
-
setDescription
public CMAAsset.Fields.Localized setDescription(java.lang.String value)
Change the localized version of the description.- Parameters:
value- the description to be set.- Returns:
- the Localized Fields instance calling this method.
- See Also:
CMAAsset.Fields.setDescription(String, String)
-
getTitle
public java.lang.String getTitle()
- Returns:
- a localized version of
CMAAsset.Fields.getTitle(String)
-
setTitle
public CMAAsset.Fields.Localized setTitle(java.lang.String value)
Change the localized version of the title.- Parameters:
value- the title to be set.- Returns:
- the Localized Fields instance calling this method.
- See Also:
CMAAsset.Fields.setTitle(String, String)
-
getFile
public CMAAssetFile getFile()
- Returns:
- a localized version of
CMAAsset.Fields.getFile(String)
-
setFile
public CMAAsset.Fields.Localized setFile(CMAAssetFile value)
Change the localized version of the file.- Parameters:
value- the file to be set.- Returns:
- the Localized Fields instance calling this method.
- See Also:
CMAAsset.Fields.setFile(String, CMAAssetFile)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-