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