Class AsyncApi20BindingImpl

    • Constructor Detail

      • AsyncApi20BindingImpl

        public AsyncApi20BindingImpl()
    • Method Detail

      • getItem

        public com.fasterxml.jackson.databind.JsonNode getItem​(String name)
        Description copied from interface: MappedNode
        Gets a single item (indexed child) by name. Returns undefined if not found.
        Specified by:
        getItem in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • getItems

        public List<com.fasterxml.jackson.databind.JsonNode> getItems()
        Description copied from interface: MappedNode
        Returns an array of all the child items.
        Specified by:
        getItems in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • getItemNames

        public List<String> getItemNames()
        Description copied from interface: MappedNode
        Gets a list of the names of all indexed children.
        Specified by:
        getItemNames in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • addItem

        public void addItem​(String name,
                            com.fasterxml.jackson.databind.JsonNode item)
        Description copied from interface: MappedNode
        Adds a child item.
        Specified by:
        addItem in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • insertItem

        public void insertItem​(String name,
                               com.fasterxml.jackson.databind.JsonNode item,
                               int atIndex)
        Description copied from interface: MappedNode
        Inserts a child item.
        Specified by:
        insertItem in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • removeItem

        public com.fasterxml.jackson.databind.JsonNode removeItem​(String name)
        Description copied from interface: MappedNode
        Removes a child item by name and returns the deleted child or undefined if there wasn't one.
        Specified by:
        removeItem in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>
      • clearItems

        public void clearItems()
        Description copied from interface: MappedNode
        Removes all children.
        Specified by:
        clearItems in interface MappedNode<com.fasterxml.jackson.databind.JsonNode>