Package com.restfb.types
Class FacebookType.Metadata
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType.Metadata
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FacebookType
public static class FacebookType.Metadata extends AbstractFacebookType
Represents Facebook Object metadata, available by including themetadata=1
URL parameter in an API request.- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FacebookType.Metadata.Connections
Represents Facebook Object connections metadata, available by including themetadata=1
URL parameter in an API request.
-
Constructor Summary
Constructors Constructor Description Metadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addField(NamedFacebookType field)
FacebookType.Metadata.Connections
getConnections()
List<NamedFacebookType>
getFields()
Existing fields in the current typeString
getType()
boolean
removeField(NamedFacebookType field)
void
setConnections(FacebookType.Metadata.Connections connections)
void
setType(String type)
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Metadata
public Metadata()
-
-
Method Detail
-
getFields
public List<NamedFacebookType> getFields()
Existing fields in the current type- Returns:
- list of field of the current type
- Since:
- 1.6.16
-
addField
public boolean addField(NamedFacebookType field)
-
removeField
public boolean removeField(NamedFacebookType field)
-
getConnections
public FacebookType.Metadata.Connections getConnections()
-
setConnections
public void setConnections(FacebookType.Metadata.Connections connections)
-
-