Package com.restfb.types
Class Photo.Tag
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.Photo.Tag
-
- All Implemented Interfaces:
HasCreatedTime
,Serializable
- Enclosing class:
- Photo
public static class Photo.Tag extends NamedFacebookType implements HasCreatedTime
Represents the Tag Graph API type.- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedTime()
Date this tag was created.Double
getX()
X coordinate (as a percentage of distance from left vs. width).Double
getY()
Y coordinate (as a percentage of distance from top vs. height).void
setCreatedTime(Date createdTime)
Date this tag was created.void
setX(Double x)
X coordinate (as a percentage of distance from left vs. width).void
setY(Double y)
Y coordinate (as a percentage of distance from top vs. height).-
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
-
Tag
public Tag()
-
-
Method Detail
-
getX
public Double getX()
X coordinate (as a percentage of distance from left vs. width).- Returns:
- X coordinate (as a percentage of distance from left vs. width).
-
getY
public Double getY()
Y coordinate (as a percentage of distance from top vs. height).- Returns:
- Y coordinate (as a percentage of distance from top vs. height).
-
getCreatedTime
public Date getCreatedTime()
Date this tag was created.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- Date this tag was created.
-
setCreatedTime
public void setCreatedTime(Date createdTime)
Date this tag was created.
-
-