* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.yangtools.yang.model.api;
import com.google.common.annotations.Beta;
-import java.util.Set;
+import java.util.Collection;
+import org.eclipse.jdt.annotation.NonNull;
/**
* Common interface for an operation.
*
* @return Set of type definitions declared under this operation.
*/
- Set<TypeDefinition<?>> getTypeDefinitions();
+ Collection<? extends @NonNull TypeDefinition<?>> getTypeDefinitions();
/**
* Returns the set of grouping statements declared under this operation.
*
* @return Set of grouping statements declared under this operation.
*/
- Set<GroupingDefinition> getGroupings();
+ Collection<? extends @NonNull GroupingDefinition> getGroupings();
/**
* Returns definition of input parameters for this operation.
* @return Definition of input parameters for this operation.
* The substatements of input define nodes under the operation's input node.
*/
- ContainerSchemaNode getInput();
+ InputSchemaNode getInput();
/**
* Returns definition of output parameters for this operation.
* @return Definition of output parameters for this operation. The
* substatements of output define nodes under the operation's output node.
*/
- ContainerSchemaNode getOutput();
+ OutputSchemaNode getOutput();
}