X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2FOperationDefinition.java;h=1494337cbeacc1442b4d754d989d3d957b1e1463;hb=29fb90116883182758dc9ec67cfcf1344a3cf951;hp=4f285d85fe5c7e41d2f2ba5fdfe6110882a29a48;hpb=19efe56f8f20f5692a100e765a581fbc8f0b4aca;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/OperationDefinition.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/OperationDefinition.java index 4f285d85fe..1494337cbe 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/OperationDefinition.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/OperationDefinition.java @@ -5,11 +5,11 @@ * 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. @@ -21,14 +21,14 @@ public interface OperationDefinition extends SchemaNode { * * @return Set of type definitions declared under this operation. */ - Set> getTypeDefinitions(); + Collection> getTypeDefinitions(); /** * Returns the set of grouping statements declared under this operation. * * @return Set of grouping statements declared under this operation. */ - Set getGroupings(); + Collection getGroupings(); /** * Returns definition of input parameters for this operation. @@ -36,7 +36,7 @@ public interface OperationDefinition extends SchemaNode { * @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. @@ -44,5 +44,5 @@ public interface OperationDefinition extends SchemaNode { * @return Definition of output parameters for this operation. The * substatements of output define nodes under the operation's output node. */ - ContainerSchemaNode getOutput(); + OutputSchemaNode getOutput(); }