Package org.pac4j.oauth.profile.facebook
Enum FacebookRelationshipStatus
- java.lang.Object
-
- java.lang.Enum<FacebookRelationshipStatus>
-
- org.pac4j.oauth.profile.facebook.FacebookRelationshipStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FacebookRelationshipStatus>
public enum FacebookRelationshipStatus extends java.lang.Enum<FacebookRelationshipStatus>
This class is the relationship status in Facebook.- Since:
- 1.0.0
- Author:
- Jerome Leleu
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIVORCED
ENGAGED
IN_A_CIVIL_UNION
IN_A_DOMESTIC_PARTNERSHIP
IN_A_RELATIONSHIP
IN_AN_OPEN_RELATIONSHIP
ITS_COMPLICATED
MARRIED
SEPARATED
SINGLE
WIDOWED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FacebookRelationshipStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FacebookRelationshipStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final FacebookRelationshipStatus SINGLE
-
IN_A_RELATIONSHIP
public static final FacebookRelationshipStatus IN_A_RELATIONSHIP
-
ENGAGED
public static final FacebookRelationshipStatus ENGAGED
-
MARRIED
public static final FacebookRelationshipStatus MARRIED
-
ITS_COMPLICATED
public static final FacebookRelationshipStatus ITS_COMPLICATED
-
IN_AN_OPEN_RELATIONSHIP
public static final FacebookRelationshipStatus IN_AN_OPEN_RELATIONSHIP
-
WIDOWED
public static final FacebookRelationshipStatus WIDOWED
-
SEPARATED
public static final FacebookRelationshipStatus SEPARATED
-
DIVORCED
public static final FacebookRelationshipStatus DIVORCED
-
IN_A_CIVIL_UNION
public static final FacebookRelationshipStatus IN_A_CIVIL_UNION
-
IN_A_DOMESTIC_PARTNERSHIP
public static final FacebookRelationshipStatus IN_A_DOMESTIC_PARTNERSHIP
-
-
Method Detail
-
values
public static FacebookRelationshipStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FacebookRelationshipStatus c : FacebookRelationshipStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FacebookRelationshipStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-