Package com.restfb.types
Class OpenGraphObjectType
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.OpenGraphObjectType
-
- All Implemented Interfaces:
Serializable
public class OpenGraphObjectType extends NamedFacebookType
Represents the Open Graph Object 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 OpenGraphObjectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyConfig(String key, OpenGraphPropertyConfig value)
String
getArticle()
An article for the type nameString
getPlural()
The plural form of the objectMap<String,OpenGraphPropertyConfig>
getPropertyConfig()
Per-property configString
getSingular()
The singular form of the objectvoid
removePropertyConfig(String key)
void
setArticle(String article)
An article for the type namevoid
setPlural(String plural)
The plural form of the objectvoid
setSingular(String singular)
The singular form of the object-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
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
-
OpenGraphObjectType
public OpenGraphObjectType()
-
-
Method Detail
-
getPropertyConfig
public Map<String,OpenGraphPropertyConfig> getPropertyConfig()
Per-property config- Returns:
- Per-property config
-
addPropertyConfig
public void addPropertyConfig(String key, OpenGraphPropertyConfig value)
-
removePropertyConfig
public void removePropertyConfig(String key)
-
getArticle
public String getArticle()
An article for the type name
-
setArticle
public void setArticle(String article)
An article for the type name
-
getSingular
public String getSingular()
The singular form of the object
-
setSingular
public void setSingular(String singular)
The singular form of the object
-
-