public enum EntityOwnershipState extends Enum<EntityOwnershipState>
| Enum Constant and Description | 
|---|
IS_OWNER
The local process instance is the owner of the entity. 
 | 
NO_OWNER
The entity has no owner and thus no candidates. 
 | 
OWNED_BY_OTHER
A remote process instance is the owner of the entity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EntityOwnershipState | 
from(boolean isOwner,
    boolean hasOwner)  | 
static EntityOwnershipState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static EntityOwnershipState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EntityOwnershipState IS_OWNER
public static final EntityOwnershipState OWNED_BY_OTHER
public static final EntityOwnershipState NO_OWNER
public static EntityOwnershipState[] values()
for (EntityOwnershipState c : EntityOwnershipState.values()) System.out.println(c);
public static EntityOwnershipState 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 static EntityOwnershipState from(boolean isOwner, boolean hasOwner)
Copyright © 2018 OpenDaylight. All rights reserved.