Package org.pac4j.oauth.profile.facebook
Class FacebookWork
java.lang.Object
org.pac4j.oauth.profile.facebook.FacebookWork
- All Implemented Interfaces:
Serializable
This class represents a Facebook work.
- Since:
- 1.0.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the fielddescription
.Getter for the fieldemployer
.Getter for the fieldendDate
.Getter for the fieldlocation
.Getter for the fieldposition
.Getter for the fieldstartDate
.void
setDescription
(String description) Setter for the fielddescription
.void
setEmployer
(FacebookObject employer) Setter for the fieldemployer
.void
setEndDate
(Date endDate) Setter for the fieldendDate
.void
setLocation
(FacebookObject location) Setter for the fieldlocation
.void
setPosition
(FacebookObject position) Setter for the fieldposition
.void
setStartDate
(Date startDate) Setter for the fieldstartDate
.
-
Constructor Details
-
FacebookWork
public FacebookWork()
-
-
Method Details
-
getEmployer
Getter for the field
employer
.- Returns:
- a
FacebookObject
object
-
setEmployer
Setter for the field
employer
.- Parameters:
employer
- aFacebookObject
object
-
getLocation
Getter for the field
location
.- Returns:
- a
FacebookObject
object
-
setLocation
Setter for the field
location
.- Parameters:
location
- aFacebookObject
object
-
getPosition
Getter for the field
position
.- Returns:
- a
FacebookObject
object
-
setPosition
Setter for the field
position
.- Parameters:
position
- aFacebookObject
object
-
getDescription
Getter for the field
description
.- Returns:
- a
String
object
-
setDescription
Setter for the field
description
.- Parameters:
description
- aString
object
-
getStartDate
Getter for the field
startDate
.- Returns:
- a
Date
object
-
setStartDate
Setter for the field
startDate
.- Parameters:
startDate
- aDate
object
-
getEndDate
Getter for the field
endDate
.- Returns:
- a
Date
object
-
setEndDate
Setter for the field
endDate
.- Parameters:
endDate
- aDate
object
-