public class ReferenceModifier extends Object implements com.sap.cds.ql.cqn.CqnModifier
CqnModifier for the reference of a statement to a draft enabled entity.| Modifier and Type | Field and Description |
|---|---|
static String |
SIBLING |
static String |
SIBLING_UNSECURED |
| Constructor and Description |
|---|
ReferenceModifier(com.sap.cds.reflect.CdsEntity entity,
boolean modifyIsActiveOnly,
List<Boolean> followActiveAssociation,
boolean addSecurityConstraints,
EventContext context,
boolean modifyIsActiveEntity) |
ReferenceModifier(com.sap.cds.reflect.CdsEntity entity,
List<Boolean> followActiveAssociation,
boolean addSecurityConstraints,
EventContext context) |
| Modifier and Type | Method and Description |
|---|---|
static List<List<Boolean>> |
getAssociationDirections(com.sap.cds.reflect.CdsEntity entity,
com.sap.cds.ql.cqn.CqnStructuredTypeRef ref,
EventContext context,
com.sap.cds.ql.cqn.AnalysisResult analysisResult) |
static List<List<Boolean>> |
getAssociationDirections(com.sap.cds.ql.cqn.CqnStatement statement,
EventContext context) |
boolean |
getForDraft() |
com.sap.cds.ql.cqn.CqnStructuredTypeRef |
ref(com.sap.cds.ql.StructuredTypeRef ref) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitliteral, literal, literal, literal, literal, literalbooleanFunction, comparison, connective, containment, distinct, excluding, exists, expand, expand, expression, function, groupBy, having, in, inline, inlineCount, items, limit, list, match, negation, orderBy, parameter, plain, ref, search, search, searchableElements, selectAll, selectListItem, selectListValue, sort, wherepublic static final String SIBLING
public static final String SIBLING_UNSECURED
public ReferenceModifier(com.sap.cds.reflect.CdsEntity entity,
List<Boolean> followActiveAssociation,
boolean addSecurityConstraints,
EventContext context)
public ReferenceModifier(com.sap.cds.reflect.CdsEntity entity,
boolean modifyIsActiveOnly,
List<Boolean> followActiveAssociation,
boolean addSecurityConstraints,
EventContext context,
boolean modifyIsActiveEntity)
public com.sap.cds.ql.cqn.CqnStructuredTypeRef ref(com.sap.cds.ql.StructuredTypeRef ref)
ref in interface com.sap.cds.ql.cqn.Modifierpublic boolean getForDraft()
public static List<List<Boolean>> getAssociationDirections(com.sap.cds.ql.cqn.CqnStatement statement, EventContext context)
public static List<List<Boolean>> getAssociationDirections(com.sap.cds.reflect.CdsEntity entity, com.sap.cds.ql.cqn.CqnStructuredTypeRef ref, EventContext context, com.sap.cds.ql.cqn.AnalysisResult analysisResult)
entity - the entityref - the referencecontext - the EventContextanalysisResult - the AnalysisResult of the statement. Can also be nullCopyright © 2021. All rights reserved.