public enum MemberAttributeOperationType extends Enum<MemberAttributeOperationType>
Enum Constant and Description |
---|
PUT
Indicates an attribute being put.
|
REMOVE
Indicates an attribute being removed.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the id of the MemberAttributeOperationType.
|
static MemberAttributeOperationType |
getValue(int id)
Gets the MemberAttributeOperationType by id.
|
static MemberAttributeOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberAttributeOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberAttributeOperationType PUT
public static final MemberAttributeOperationType REMOVE
public static MemberAttributeOperationType[] values()
for (MemberAttributeOperationType c : MemberAttributeOperationType.values()) System.out.println(c);
public static MemberAttributeOperationType 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 int getId()
public static MemberAttributeOperationType getValue(int id)
id
- the id of the MemberAttributeOperationType.IllegalArgumentException
- if no MemberAttributeOperationType with the given id is found.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.