public interface CqnSelectListValue extends CqnSelectListItem
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
Optional<String> |
alias() |
default CqnElementRef |
asRef() |
default CqnSelectListValue |
asValue() |
String |
displayName() |
default boolean |
isRef() |
default boolean |
isValue() |
default Stream<CqnElementRef> |
ofRef() |
default Stream<CqnSelectListValue> |
ofValue() |
CqnValue |
value() |
asExpand, asSelectList, isExpand, isSelectList, isStar, token, unfold
toJson
CqnValue value()
String displayName()
displayName
in interface CqnSelectListItem
Optional<String> alias()
alias
in interface CqnSelectListItem
default boolean isValue()
isValue
in interface CqnSelectListItem
default CqnSelectListValue asValue()
asValue
in interface CqnSelectListItem
default Stream<CqnSelectListValue> ofValue()
ofValue
in interface CqnSelectListItem
default boolean isRef()
isRef
in interface CqnSelectListItem
default CqnElementRef asRef()
asRef
in interface CqnSelectListItem
default Stream<CqnElementRef> ofRef()
ofRef
in interface CqnSelectListItem
default void accept(CqnVisitor visitor)
CqnToken
visitor
. The traversal order is depth-first. If this token has
child nodes they are traversed first by dispatching the visitor to the
children's accept
methods.
Afterwards this token is passed to the visitor's visit
method
specific for this token's type.accept
in interface CqnToken
visitor
- the CqnVisitor
Copyright © 2023 SAP. All rights reserved.