public class CdsModelUtils extends Object
public static boolean isSingleValued(CdsType associationElement)
public static Set<String> targetKeys(CdsElement association)
public static Set<String> keyNames(CdsStructuredType entity)
public static Optional<CdsElement> findElement(CdsStructuredType root, CqnElementRef ref)
public static CdsElement element(CdsStructuredType root, CqnElementRef ref)
public static CdsElement element(CdsStructuredType root, List<? extends CqnReference.Segment> segments)
public static boolean isContextElementRef(CqnElementRef ref)
public static List<CdsEntity> entities(CdsModel model, List<? extends CqnReference.Segment> segments)
public static List<CdsEntity> entities(CdsEntity root, List<? extends CqnReference.Segment> segments)
public static CdsEntity entity(CdsEntity root, List<? extends CqnReference.Segment> segments)
public static CdsStructuredType target(CdsStructuredType root, List<? extends CqnReference.Segment> segments)
public static CdsEntity entity(CdsModel model, List<? extends CqnReference.Segment> segments)
public static CdsEntity entity(CdsModel model, CqnStructuredTypeRef ref)
public static boolean isReverseAssociation(CdsElement assoc)
public static CdsVersion compilerVersion(CdsModel model)
Copyright © 2021 SAP. All rights reserved.