Package com.restfb.types
Class Url.OGObject
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Url.OGObject
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Url
The Open Graph object that is canonically associated with this URL.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()getTitle()getType()getUrl()voidsetDescription(String description) The description of the object.voidThe image urlvoidThe title of the object.voidThe object type.voidsetUpdatedTime(Date updatedTime) When the object was last updated.voidThis URL.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, setId, setMetadataMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
OGObject
public OGObject()
-
-
Method Details
-
getDescription
- Returns:
- The description of the object
-
setDescription
The description of the object. -
getTitle
- Returns:
- The title of the object
-
setTitle
The title of the object. -
getType
- Overrides:
getTypein classFacebookType- Returns:
- The object type as String
-
setType
The object type.- Overrides:
setTypein classFacebookType
-
getUrl
- Returns:
- This URL
-
setUrl
This URL. -
getUpdatedTime
- Returns:
- date when the object was last updated.
-
setUpdatedTime
When the object was last updated. -
getImage
- Returns:
- image url
-
setImage
The image url
-