public abstract class ElementRefImpl<T> extends AbstractValue<T> implements ElementRef<T>
CQL.get(java.lang.String)
instead.CqnReference.Segment
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String |
type |
cdsType
$KEY
Modifier and Type | Method and Description |
---|---|
Optional<String> |
alias() |
abstract ElementRef<T> |
as(String alias) |
static <T> ElementRef<T> |
element(List<? extends CqnReference.Segment> segments)
Deprecated.
|
static <T> ElementRef<T> |
element(String... ids)
Deprecated.
instead use
CQL.get(java.lang.String) |
static <T> ElementRef<T> |
elementRef(CqnReference.Segment segment,
String alias,
String cdsType) |
static <T,S extends CqnReference.Segment> |
elementRef(List<S> segments) |
static <T,S extends CqnReference.Segment> |
elementRef(List<S> segments,
String alias,
String cdsType) |
static <T> ElementRef<T> |
elementRef(String... ids) |
protected Jsonizer |
json() |
static <T> Value<T> |
key() |
static <T> ElementRef<T> |
parse(String path) |
String |
toJson() |
Optional<String> |
type() |
Value<?> |
type(String cdsType) |
asc, ascNullsLast, average, between, between, between, between, contains, contains, contains, countDistinct, desc, descNullsFirst, dividedBy, dividedBy, endsWith, endsWith, eq, eq, func, ge, ge, gt, gt, in, in, in, in, is, is, isNot, isNot, isNotNull, isNull, le, le, lt, lt, max, min, minus, minus, ne, ne, plain, plus, plus, startsWith, startsWith, substring, substring, substring, substring, sum, times, times, toLower, toString, toUpper, type, type, withoutAlias
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
rootSegment, segments, targetSegment
average, between, between, between, between, contains, contains, contains, countDistinct, dividedBy, dividedBy, endsWith, endsWith, eq, eq, func, ge, ge, gt, gt, in, in, in, in, is, is, isNot, isNot, isNotNull, isNull, le, le, lt, lt, max, min, minus, minus, ne, ne, plain, plus, plus, startsWith, startsWith, substring, substring, substring, substring, sum, times, times, toLower, toUpper, type, type, withoutAlias
asc, ascNullsLast, desc, descNullsFirst
accept, asRef, asValue, isRef, isValue, ofRef, value
firstSegment, lastSegment, path, size, stream
as, asExpression, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, isExpression, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain
displayName, ofValue
asExpand, asSelectList, isExpand, isSelectList, isStar, token, unfold
public static <T> Value<T> key()
public static <T> ElementRef<T> parse(String path)
@Deprecated public static <T> ElementRef<T> element(String... ids)
CQL.get(java.lang.String)
ElementRefImpl
is internal API and should not be used outside CAP,
use CQL
instead.public static <T> ElementRef<T> elementRef(String... ids)
public static final <T> ElementRef<T> elementRef(CqnReference.Segment segment, String alias, String cdsType)
@Deprecated public static <T> ElementRef<T> element(List<? extends CqnReference.Segment> segments)
public static <T,S extends CqnReference.Segment> ElementRef<T> elementRef(List<S> segments)
public static final <T,S extends CqnReference.Segment> ElementRef<T> elementRef(List<S> segments, String alias, String cdsType)
public Value<?> type(String cdsType)
type
in interface ElementRef<T>
type
in interface Value<T>
type
in class AbstractValue<T>
public Optional<String> alias()
alias
in interface CqnReference
alias
in interface CqnSelectListItem
alias
in interface CqnSelectListValue
public Optional<String> type()
type
in interface CqnValue
type
in class AbstractValue<T>
public String toJson()
toJson
in interface JSONizable
toJson
in class AbstractValue<T>
protected Jsonizer json()
json
in class AbstractValue<T>
public abstract ElementRef<T> as(String alias)
as
in interface ElementRef<T>
as
in interface Value<T>
as
in class AbstractValue<T>
Copyright © 2023 SAP. All rights reserved.