
com.sap.cds.reflect.impl.CdsEventReader Maven / Gradle / Ivy
/*******************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.reflect.impl;
import com.fasterxml.jackson.databind.JsonNode;
public class CdsEventReader {
private CdsEventReader() {
}
public static CdsEventBuilder read(String qualifiedName, JsonNode csn, CdsModelBuilder model) {
CdsEventBuilder event = new CdsEventBuilder(CdsAnnotationReader.read(csn), qualifiedName);
event.addElements(CdsStructuredTypeReader.readElementList(qualifiedName, csn, model));
return event;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy