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