public interface RefBuilder<T extends CqnReference>
references
.
The segments
of the ref can be modified in-place. Call
build()
to create an immutable ref.Modifier and Type | Interface and Description |
---|---|
static interface |
RefBuilder.RefSegment
A modifiable ref segment.
|
Modifier and Type | Method and Description |
---|---|
RefBuilder<T> |
as(String alias)
Sets the alias of this ref builder.
|
T |
build()
Creates an immutable ref
|
RefBuilder.RefSegment |
rootSegment()
Returns the first segment of this ref builder.
|
List<RefBuilder.RefSegment> |
segments()
Returns the segments of this ref builder as
List . |
Stream<RefBuilder.RefSegment> |
stream()
Returns the segments of this ref builder as
Stream . |
RefBuilder.RefSegment |
targetSegment()
Returns the last segment of this ref builder.
|
RefBuilder<T> |
type(String typeName)
Sets the type of this ref builder.
|
List<RefBuilder.RefSegment> segments()
List
.RefSegments
Stream<RefBuilder.RefSegment> stream()
Stream
.RefSegments
RefBuilder.RefSegment rootSegment()
RefBuilder.RefSegment
RefBuilder.RefSegment targetSegment()
RefBuilder.RefSegment
RefBuilder<T> as(String alias)
alias
- the aliasRefBuilder<T> type(String typeName)
typeName
- the type nameT build()
Copyright © 2023 SAP. All rights reserved.