Class AbstractEffectiveOperationContainerSchemaNode<D extends DeclaredStatement<QName>>

    • Constructor Detail

      • AbstractEffectiveOperationContainerSchemaNode

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

      • getActions

        public final Set<ActionDefinition> getActions()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ActionNodeContainer
        Return the set of actions.
        Returns:
        set of action nodes
      • isPresenceContainer

        public final boolean isPresenceContainer()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ContainerSchemaNode
        Returns true if this container is marked as presence.
        Returns:
        true, if presence of this container has an explicit meaning, false otherwise
      • 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