com.sap.cds.reflect.CdsOperation Maven / Gradle / Ivy
/*********************************************************************
* (C) 2023 SAP SE or an SAP affiliate company. All rights reserved. *
*********************************************************************/
package com.sap.cds.reflect;
import java.util.Optional;
import java.util.stream.Stream;
public interface CdsOperation extends CdsDefinition {
/**
* Returns a sequential {@code Stream} over the {@link CdsParameter
* CdsParameter(s)} of this {@code CdsAction}.
*
* @return a sequential {@code Stream} over the {@code CdsParameter(s)}
*/
Stream parameters();
/**
* Returns an {@link Optional} wrapping the {@link CdsType} of this
* {@code CdsOperation}.
*
* @return an {@code Optional} describing the {@code CdsType} of this
* definition, or an empty {@code Optional} if the operation does not have
* a return type
*/
Optional returnType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy