Package com.sap.cds.ql.cqn
Interface CqnPlain
- All Superinterfaces:
CqnToken
,CqnValue
,JSONizable
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CqnVisitor visitor) Traverses the expression tree represented by this token with a givenvisitor
.default CqnPlain
asPlain()
Casts this value toCqnPlain
.default boolean
isPlain()
Returnstrue
if this is aCqnPlain
value.plain()
Returns the name plain value.Methods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asExpression, asFunction, asList, asLiteral, asNullValue, asParameter, asRef, isExpression, isFunction, isList, isLiteral, isNullValue, isParameter, isRef, ofLiteral, ofRef, type
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
plain
String plain()Returns the name plain value.- Returns:
- the plain value
-
isPlain
default boolean isPlain()Description copied from interface:CqnValue
Returnstrue
if this is aCqnPlain
value. -
asPlain
Description copied from interface:CqnValue
Casts this value toCqnPlain
. -
accept
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
-