public enum RevisionType extends java.lang.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(java.lang.Object representation) |
java.lang.Byte |
getRepresentation() |
static RevisionType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Byte getRepresentation()
public static RevisionType fromRepresentation(java.lang.Object representation)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.