Class AbstractEffectiveOperationDefinition<D extends DeclaredStatement<QName>>

    • Constructor Detail

      • AbstractEffectiveOperationDefinition

        protected AbstractEffectiveOperationDefinition​(StmtContext<QName,​D,​?> ctx)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getInput

        public final ContainerSchemaNode getInput()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OperationDefinition
        Returns definition of input parameters for this operation.
        Specified by:
        getInput in interface OperationDefinition
        Returns:
        Definition of input parameters for this operation. The substatements of input define nodes under the operation's input node.
      • getOutput

        public final ContainerSchemaNode getOutput()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OperationDefinition
        Returns definition of output parameters for this operation.
        Specified by:
        getOutput in interface OperationDefinition
        Returns:
        Definition of output parameters for this operation. The substatements of output define nodes under the operation's output node.
      • getTypeDefinitions

        public final Set<TypeDefinition<?>> getTypeDefinitions()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OperationDefinition
        Returns the set of type definitions declared under this operation.
        Specified by:
        getTypeDefinitions in interface OperationDefinition
        Returns:
        Set of type definitions declared under this operation.
      • getGroupings

        public final Set<GroupingDefinition> getGroupings()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OperationDefinition
        Returns the set of grouping statements declared under this operation.
        Specified by:
        getGroupings in interface OperationDefinition
        Returns:
        Set of grouping statements declared under this operation.
      • toString

        public final String toString()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        toString in class Object
      • maskList

        protected static final @NonNull Object maskList​(ImmutableList<?> list)
        Utility method for squashing singleton lists into single objects. This is a CPU/mem trade-off, which we are usually willing to make: for the cost of an instanceof check we can save one object and re-create it when needed. The inverse operation is #unmaskSubstatements(Object)}.
        Parameters:
        list - list to mask
        Returns:
        Masked list
        Throws:
        NullPointerException - if list is null