public final class Binding extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Binding.Builder
Collects the members of a new
Binding. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Binding> |
READER
Reads a JSON object as a
Binding. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Binding.Builder |
builder() |
static Binding |
fromJson(Object json)
A
Binding with the members of a JSON object, all kept. |
List<String> |
getBases()
The member
bases. |
Long |
getCandidateSetRef()
The member
candidateSetRef. |
String |
getDeclarationBasis()
The member
declarationBasis. |
Long |
getDeclarationRef()
The member
declarationRef. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
Long |
getScopeRef()
The member
scopeRef. |
String |
getStatus()
The member
status. |
Binding.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Binding> READER
Binding.public static Binding fromJson(Object json)
Binding with the members of a JSON object, all kept.public static Binding.Builder builder()
public Binding.Builder toBuilder()
public String getStatus()
status. The status of a name binding. Registry group 'bindingStatus'
(Section 4.2). Null when absent; throws IllegalStateException when the member holds another
JSON type.public List<String> getBases()
bases. Null when absent; throws IllegalStateException when the member
holds another JSON type.public Long getScopeRef()
scopeRef. The scope in which the reference was resolved. 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 Long getDeclarationRef()
declarationRef. The statement that declares the bound name, when the basis
is a declaration in the input. 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 Long getCandidateSetRef()
candidateSetRef. The candidate set of a CANDIDATE or UNRESOLVED binding. 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 String getDeclarationBasis()
declarationBasis. Required when the endpoint is a FIELD (semantic stage:
SEMANTIC_DECLARATION_BASIS_MISSING). The declaration basis of a field endpoint. Registry
group 'declarationBasis' (Section 4.2). 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.