Package com.restfb.types
Class User.Education
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.User.Education
- All Implemented Interfaces:
Serializable
- Enclosing class:
- User
Deprecated.
since breaking change on 4 April, 2018
Represents the Education Graph API type.
- Author:
- Mark Allen, Patrick Alberts
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addClasses(User.EducationClass eduClass)
Deprecated.boolean
addConcentration(NamedFacebookType minor)
Deprecated.boolean
addWith(NamedFacebookType friend)
Deprecated.Deprecated.Classes taken at this school.Deprecated.Concentrations/minors.Deprecated.Degree acquired.Deprecated.The school name and ID.getType()
Deprecated.Type of school, e.g.getWith()
Deprecated.Friends associated with this school.getYear()
Deprecated.Graduation year.Deprecated.Description for this year.boolean
removeClasses(User.EducationClass eduClass)
Deprecated.boolean
removeConcentration(NamedFacebookType minor)
Deprecated.boolean
removeWith(NamedFacebookType friend)
Deprecated.void
setDegree(NamedFacebookType degree)
Deprecated.Degree acquired.void
setSchool(NamedFacebookType school)
Deprecated.The school name and ID.void
Deprecated.Type of school, e.g.void
setYear(NamedFacebookType year)
Deprecated.Graduation year.void
setYearAsString(String yearAsString)
Deprecated.Description for this year.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Education
public Education()Deprecated.
-
-
Method Details
-
getConcentration
Deprecated.Concentrations/minors.- Returns:
- Concentrations/minors.
-
addConcentration
Deprecated. -
removeConcentration
Deprecated. -
getWith
Deprecated.Friends associated with this school.- Returns:
- Friends associated with this school.
- Since:
- 1.6.3
-
addWith
Deprecated. -
removeWith
Deprecated. -
getClasses
Deprecated.Classes taken at this school.- Returns:
- Classes taken at this school.
- Since:
- 1.6.8
-
addClasses
Deprecated. -
removeClasses
Deprecated. -
getSchool
Deprecated.The school name and ID.- Returns:
- The school name and ID.
-
setSchool
Deprecated.The school name and ID. -
getYear
Deprecated.Graduation year.- Returns:
- Graduation year.
-
setYear
Deprecated.Graduation year. -
getYearAsString
Deprecated.Description for this year. It is possible for Facebook to return either this value orgetYear()
. IfgetYear()
returnsnull
, then check this method to see if it has data, e.g."1997"
.- Returns:
- Description for this year.
- Since:
- 1.7.1
-
setYearAsString
Deprecated.Description for this year. It is possible for Facebook to return either this value orgetYear()
. IfgetYear()
returnsnull
, then check this method to see if it has data, e.g."1997"
.- Since:
- 1.7.1
-
getDegree
Deprecated.Degree acquired.- Returns:
- Degree acquired.
-
setDegree
Deprecated.Degree acquired. -
getType
Deprecated.Type of school, e.g.College
.- Returns:
- Type of school.
-
setType
Deprecated.Type of school, e.g.College
.
-