public enum RevisionType extends Enum<RevisionType>
Enum Constant and Description |
---|
ADD
Indicates that the entity was added (persisted) at that revision.
|
DEL
Indicates that the entity was deleted (removed) at that revision.
|
MOD
Indicates that the entity was modified (one or more of its fields) at that revision.
|
Modifier and Type | Method and Description |
---|---|
static RevisionType |
fromRepresentation(Object representation) |
Byte |
getRepresentation() |
static RevisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionType ADD
public static final RevisionType MOD
public static final RevisionType DEL
public static RevisionType[] values()
for (RevisionType c : RevisionType.values()) System.out.println(c);
public static RevisionType 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 Byte getRepresentation()
public static RevisionType fromRepresentation(Object representation)
Copyright © 2021 JBoss by Red Hat. All rights reserved.