@Value.Immutable @ParametersAreNonnullByDefault public abstract class BatchId extends Object implements Comparable<BatchId>
To fetch the literal batch identifier use the toString() method.
| Constructor and Description |
|---|
BatchId() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BatchId o) |
protected abstract String |
id()
The literal string representation of this batch identifier.
|
static BatchId |
of(String id)
Builds an immutable
BatchId having the given literal
representation. |
String |
toString()
The string representation of this batch identifier.
|
@Nonnull public static BatchId of(String id)
BatchId having the given literal
representation.id - the literal batch identifierprotected abstract String id()
public int compareTo(BatchId o)
compareTo in interface Comparable<BatchId>Copyright © 2016–2019 CLX Communications. All rights reserved.