public interface ResolvedSegment
CqnReference.Segment
of a CqnStructuredTypeRef
Modifier and Type | Method and Description |
---|---|
CdsElement |
element()
Returns the
CdsElement corresponding to this CqnReference.Segment . |
default CdsEntity |
entity()
Returns the
CdsEntity that is referenced by the CqnReference.Segment . |
Map<String,Object> |
keys()
Returns the element name to value mapping for the key elements of the
CdsEntity that is targeted by the CqnReference.Segment . |
Map<String,Object> |
keyValues()
Returns the element name to value mapping for the key elements of the
CdsEntity that is targeted by the CqnReference.Segment . |
CqnReference.Segment |
segment()
Returns the unmodified
CqnReference.Segment . |
CdsStructuredType |
type()
Returns the
CdsStructuredType that is referenced by the
CqnReference.Segment . |
Map<String,Object> |
values()
Returns the element name to value mapping for all elements of the
CdsEntity that is targeted by the CqnReference.Segment . |
CqnReference.Segment segment()
CqnReference.Segment
.default CdsEntity entity()
CdsEntity
that is referenced by the CqnReference.Segment
.CdsEntity
CdsStructuredType type()
CdsStructuredType
that is referenced by the
CqnReference.Segment
.CdsElement element()
CdsElement
corresponding to this CqnReference.Segment
.CdsElement
, or nullMap<String,Object> keys()
CdsEntity
that is targeted by the CqnReference.Segment
.
Extracts the key values, i.e. the values of the key elements to the entity
targeted by this segment, from this segment's filter condition. If the filter
condition does not uniquely restrict a key element to a particular value, the
element's name is mapped to null
.Map<String,Object> keyValues()
CdsEntity
that is targeted by the CqnReference.Segment
.
Extracts the key values, i.e. the values of the key elements to the entity
targeted by this segment, from this segment's filter condition. If the filter
condition does not uniquely restrict a key element to a particular value, the
element's name is not present in the returned map.Map<String,Object> values()
CdsEntity
that is targeted by the CqnReference.Segment
.
Extracts the values, i.e. the values of the elements to the entity targeted
by this segment, from this segment's filter condition. If the filter
condition does not uniquely restrict an element to a particular value, the
element's name is not present in the returned map.Copyright © 2022 SAP. All rights reserved.