@Generated(value="org.immutables.processor.ProxyProcessor") public final class Revision extends Object
_Revision.
Use the builder to create immutable instances:
Revision.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
Revision.Builder
Builds instances of type
Revision. |
| Modifier and Type | Method and Description |
|---|---|
static Revision.Builder |
builder()
Creates a builder for
Revision. |
boolean |
equals(Object another)
This instance is equal to all instances of
Revision that have equal attribute values. |
String |
getId()
The revision's id
|
Integer |
getVersion()
The revision's version
|
int |
hashCode()
Computes a hash code from attributes:
id, version. |
String |
toString()
Prints the immutable value
Revision with attribute values. |
public String getId()
public Integer getVersion()
public boolean equals(Object another)
Revision that have equal attribute values.public int hashCode()
id, version.public String toString()
Revision with attribute values.public static Revision.Builder builder()
Revision.
Revision.builder()
.id(String) // required id
.version(Integer) // required version
.build();
Copyright © 2020. All rights reserved.