public enum PersonRelationship extends Enum<PersonRelationship> implements com.github.davidmoten.odata.client.Enum
| Enum Constant and Description |
|---|
ALTERNATE_CONTACT |
ASSISTANT |
CHILD |
COLLEAGUE |
DIRECT_REPORT |
DOT_LINE_MANAGER |
DOT_LINE_REPORT |
EMERGENCY_CONTACT |
FRIEND |
MANAGER |
OTHER |
PARENT |
SIBLING |
SPONSOR |
SPOUSE |
UNKNOWN_FUTURE_VALUE |
| Modifier and Type | Method and Description |
|---|---|
String |
enumName() |
String |
enumValue() |
static PersonRelationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonRelationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonRelationship MANAGER
public static final PersonRelationship COLLEAGUE
public static final PersonRelationship DIRECT_REPORT
public static final PersonRelationship DOT_LINE_REPORT
public static final PersonRelationship ASSISTANT
public static final PersonRelationship DOT_LINE_MANAGER
public static final PersonRelationship ALTERNATE_CONTACT
public static final PersonRelationship FRIEND
public static final PersonRelationship SPOUSE
public static final PersonRelationship SIBLING
public static final PersonRelationship CHILD
public static final PersonRelationship PARENT
public static final PersonRelationship SPONSOR
public static final PersonRelationship EMERGENCY_CONTACT
public static final PersonRelationship OTHER
public static final PersonRelationship UNKNOWN_FUTURE_VALUE
public static PersonRelationship[] values()
for (PersonRelationship c : PersonRelationship.values()) System.out.println(c);
public static PersonRelationship valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String enumName()
enumName in interface com.github.davidmoten.odata.client.Enumpublic String enumValue()
enumValue in interface com.github.davidmoten.odata.client.EnumCopyright © 2018–2020. All rights reserved.