Package com.restfb.types
Class Translation
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.Translation
-
- All Implemented Interfaces:
Serializable
public class Translation extends FacebookType
Represents the Translations Graph API type.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Translation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApprovalStatus()
The approval status of the string.String
getDescription()
The provided description of the string.String
getNativeString()
The original string that was translated.String
getTranslation()
The translated string.void
setApprovalStatus(String approvalStatus)
The approval status of the string.void
setDescription(String description)
The provided description of the string.void
setNativeString(String nativeString)
The original string that was translated.void
setTranslation(String translation)
The translated string.-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Translation
public Translation()
-
-
Method Detail
-
getTranslation
public String getTranslation()
The translated string.- Returns:
- The translated string.
-
setTranslation
public void setTranslation(String translation)
The translated string.
-
getApprovalStatus
public String getApprovalStatus()
The approval status of the string.Possible values: auto-approved, approved, unapproved
- Returns:
- The approval status of the string.
-
setApprovalStatus
public void setApprovalStatus(String approvalStatus)
The approval status of the string.Possible values: auto-approved, approved, unapproved
-
getNativeString
public String getNativeString()
The original string that was translated.- Returns:
- The original string that was translated.
-
setNativeString
public void setNativeString(String nativeString)
The original string that was translated.
-
getDescription
public String getDescription()
The provided description of the string.- Returns:
- The provided description of the string.
-
setDescription
public void setDescription(String description)
The provided description of the string.
-
-