public interface ResolvedSegment
CqnReference.Segment
of a CqnStructuredTypeRef
Modifier and Type | Method and Description |
---|---|
default CdsEntity |
entity()
Returns the
CdsEntity that is targeted 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 targeted 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 targeted by the CqnReference.Segment
.CdsEntity
CdsStructuredType type()
CdsStructuredType
that is targeted by the CqnReference.Segment
.Map<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 © 2021 SAP. All rights reserved.