Class PathsImpl

  • All Implemented Interfaces:
    MapModel<org.eclipse.microprofile.openapi.models.PathItem>, ModelImpl, Map<String,​org.eclipse.microprofile.openapi.models.PathItem>, org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>, org.eclipse.microprofile.openapi.models.Paths

    public class PathsImpl
    extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.Paths>
    implements org.eclipse.microprofile.openapi.models.Paths, ModelImpl, MapModel<org.eclipse.microprofile.openapi.models.PathItem>
    An implementation of the Paths OpenAPI model interface.
    • Constructor Detail

      • PathsImpl

        public PathsImpl()
    • Method Detail

      • addPathItem

        public org.eclipse.microprofile.openapi.models.Paths addPathItem​(String name,
                                                                         org.eclipse.microprofile.openapi.models.PathItem item)
        Specified by:
        addPathItem in interface org.eclipse.microprofile.openapi.models.Paths
        See Also:
        Paths.addPathItem(java.lang.String, org.eclipse.microprofile.openapi.models.PathItem)
      • removePathItem

        public void removePathItem​(String name)
        Specified by:
        removePathItem in interface org.eclipse.microprofile.openapi.models.Paths
        See Also:
        Paths.removePathItem(java.lang.String)
      • getPathItems

        public Map<String,​org.eclipse.microprofile.openapi.models.PathItem> getPathItems()
        Specified by:
        getPathItems in interface org.eclipse.microprofile.openapi.models.Paths
        See Also:
        Paths.getPathItems()
      • setPathItems

        public void setPathItems​(Map<String,​org.eclipse.microprofile.openapi.models.PathItem> items)
        Specified by:
        setPathItems in interface org.eclipse.microprofile.openapi.models.Paths
        See Also:
        Paths.setPathItems(java.util.Map)
      • getMap

        public Map<String,​org.eclipse.microprofile.openapi.models.PathItem> getMap()
        Specified by:
        getMap in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • setMap

        public void setMap​(Map<String,​org.eclipse.microprofile.openapi.models.PathItem> map)
        Specified by:
        setMap in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • get

        public org.eclipse.microprofile.openapi.models.PathItem get​(Object key)
        Specified by:
        get in interface Map<String,​org.eclipse.microprofile.openapi.models.PathItem>
        Specified by:
        get in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • containsKey

        public boolean containsKey​(Object key)
        Specified by:
        containsKey in interface Map<String,​org.eclipse.microprofile.openapi.models.PathItem>
        Specified by:
        containsKey in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • put

        public org.eclipse.microprofile.openapi.models.PathItem put​(String key,
                                                                    org.eclipse.microprofile.openapi.models.PathItem value)
        Specified by:
        put in interface Map<String,​org.eclipse.microprofile.openapi.models.PathItem>
        Specified by:
        put in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • putAll

        public void putAll​(Map<? extends String,​? extends org.eclipse.microprofile.openapi.models.PathItem> m)
        Specified by:
        putAll in interface Map<String,​org.eclipse.microprofile.openapi.models.PathItem>
        Specified by:
        putAll in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>
      • remove

        public org.eclipse.microprofile.openapi.models.PathItem remove​(Object key)
        Specified by:
        remove in interface Map<String,​org.eclipse.microprofile.openapi.models.PathItem>
        Specified by:
        remove in interface MapModel<org.eclipse.microprofile.openapi.models.PathItem>