public enum LinkStatus extends Enum<LinkStatus>
Java class for LinkStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LinkStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="INACTIVE"/>
<enumeration value="PENDING"/>
<enumeration value="REFUSED"/>
<enumeration value="CANCELLED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
An active relationship.
|
CANCELLED
An invitation that was cancelled by the invitor.
|
INACTIVE
A former active relationship.
|
PENDING
An invitation that is active or has expired.
|
REFUSED
An invitation that was refused by the invitee.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static LinkStatus |
fromValue(String v) |
String |
value() |
static LinkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkStatus ACTIVE
public static final LinkStatus INACTIVE
public static final LinkStatus PENDING
public static final LinkStatus REFUSED
public static final LinkStatus CANCELLED
public static final LinkStatus UNKNOWN
public static LinkStatus[] values()
for (LinkStatus c : LinkStatus.values()) System.out.println(c);
public static LinkStatus 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 value()
public static LinkStatus fromValue(String v)
Copyright © 2023. All rights reserved.