| Modifier and Type | Method and Description |
|---|---|
FriendshipState |
Friendship.getState()
Returns the state of the friendship.
|
static FriendshipState |
FriendshipState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FriendshipState[] |
FriendshipState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Friendship.setState(FriendshipState state)
Sets the state of this friendship.
|
| Constructor and Description |
|---|
Friendship(User user_from,
User user_to,
FriendshipState state)
Creates a new instance of
Friendship |
Copyright © 2017. All rights reserved.