public final class CandidateDecision extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CandidateDecision.Builder
Collects the members of a new
CandidateDecision. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<CandidateDecision> |
READER
Reads a JSON object as a
CandidateDecision. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static CandidateDecision.Builder |
builder() |
static CandidateDecision |
fromJson(Object json)
A
CandidateDecision with the members of a JSON object, all kept. |
List<CandidateAlignment> |
getAlignment()
The member
alignment. |
Long |
getCandidateSetRef()
The member
candidateSetRef. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
CandidateDecision.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<CandidateDecision> READER
CandidateDecision.public static CandidateDecision fromJson(Object json)
CandidateDecision with the members of a JSON object, all kept.public static CandidateDecision.Builder builder()
public CandidateDecision.Builder toBuilder()
public Long getCandidateSetRef()
candidateSetRef. A document-local reference: an integer that is unique
across the whole document (one reference space for every object that carries a ref). Local
references are assigned after merging and have no meaning outside the document (Sections 6.1
and 13). Null when absent; throws IllegalStateException when the member holds another JSON
type.public List<CandidateAlignment> getAlignment()
alignment. Null when absent; throws IllegalStateException when the member
holds another JSON type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.