public final class Digest extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Digest.Builder
Collects the members of a new
Digest. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Digest> |
READER
Reads a JSON object as a
Digest. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Digest.Builder |
builder() |
static Digest |
fromJson(Object json)
A
Digest with the members of a JSON object, all kept. |
String |
getDomain()
The member
domain. |
String |
getTokenDomain()
The member
tokenDomain. |
String |
getValue()
The member
value. |
Digest.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Digest> READER
Digest.public static Digest fromJson(Object json)
Digest with the members of a JSON object, all kept.public static Digest.Builder builder()
public Digest.Builder toBuilder()
public String getDomain()
domain. A digest domain. Registry group 'digestDomains' (Sections 4.5, 7.8
and 14.3, item 6). Null when absent; throws IllegalStateException when the member holds
another JSON type.public String getValue()
value. Null when absent; throws IllegalStateException when the member
holds another JSON type.public String getTokenDomain()
tokenDomain. The comparison domain of a KEYED_TOKEN. Null when absent;
throws IllegalStateException when the member holds another JSON type.