Package com.sap.cds.ql.cqn
Interface CqnSelectListValue
-
- All Superinterfaces:
CqnSelectListItem
,CqnToken
,JSONizable
,Selectable
- All Known Subinterfaces:
CqnElementRef
,ElementRef<T>
public interface CqnSelectListValue extends CqnSelectListItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
.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()
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnSelectListItem
asExpand, asSelectList, isExpand, isSelectList, isStar, token, unfold
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
value
CqnValue value()
-
displayName
String displayName()
- Specified by:
displayName
in interfaceCqnSelectListItem
-
alias
Optional<String> alias()
- Specified by:
alias
in interfaceCqnSelectListItem
-
isValue
default boolean isValue()
- Specified by:
isValue
in interfaceCqnSelectListItem
-
asValue
default CqnSelectListValue asValue()
- Specified by:
asValue
in interfaceCqnSelectListItem
-
ofValue
default Stream<CqnSelectListValue> ofValue()
- Specified by:
ofValue
in interfaceCqnSelectListItem
-
isRef
default boolean isRef()
- Specified by:
isRef
in interfaceCqnSelectListItem
-
asRef
default CqnElementRef asRef()
- Specified by:
asRef
in interfaceCqnSelectListItem
-
ofRef
default Stream<CqnElementRef> ofRef()
- Specified by:
ofRef
in interfaceCqnSelectListItem
-
accept
default void accept(CqnVisitor visitor)
Description copied from interface:CqnToken
Traverses the expression tree represented by this token with a givenvisitor
. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children'saccept
methods. Afterwards this token is passed to the visitor'svisit
method specific for this token's type.- Specified by:
accept
in interfaceCqnToken
- Parameters:
visitor
- theCqnVisitor
-
-